Files
Daybreak/Daybreak.API/Services/Interop/PartyContextService.cs
T
amacocian 97fed608d2 Update GWCA (#1484)
* Improve GWCA bindings generator based on headers

* Move all structs to gwca

* Progress

* Complete parser work

* More generator adjustments

* GWCA fixes

* GWCA improvements

* GWCA fixes

* GWCA fixes

* GWCA fixes

* GWCA fixes

* Fix API usage of GWCA

* Update GWCA

---------

Co-authored-by: Alexandru Macocian <amacocian@microsoft.com>
2026-02-26 14:13:40 -08:00

16 lines
472 B
C#

using Daybreak.API.Interop;
using static Daybreak.API.Interop.GWCA.GW.Constants;
namespace Daybreak.API.Services.Interop;
public sealed class PartyContextService
{
public bool AddHero(uint heroId) => GWCA.GW.PartyMgr.AddHero((HeroID)heroId);
public bool KickHero(uint heroId) => GWCA.GW.PartyMgr.KickHero((HeroID)heroId);
public bool KickAllHeroes() => GWCA.GW.PartyMgr.KickAllHeroes();
public bool LeaveParty() => GWCA.GW.PartyMgr.LeaveParty();
}