mirror of
https://github.com/gwdevhub/Daybreak.git
synced 2026-07-15 15:19:57 +00:00
97fed608d2
* 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>
16 lines
472 B
C#
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();
|
|
}
|