mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-14 04:34:16 +01:00
feat(PartyList): add PartyId
This commit is contained in:
parent
ded92f0f7f
commit
82e23f45a7
1 changed files with 5 additions and 0 deletions
|
|
@ -62,6 +62,11 @@ namespace Dalamud.Game.ClientState.Party
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public IntPtr AllianceListAddress => (IntPtr)this.GroupManagerStruct->AllianceMembers;
|
public IntPtr AllianceListAddress => (IntPtr)this.GroupManagerStruct->AllianceMembers;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets the ID of the party.
|
||||||
|
/// </summary>
|
||||||
|
public long PartyId => this.GroupManagerStruct->PartyId;
|
||||||
|
|
||||||
private static int PartyMemberSize { get; } = Marshal.SizeOf<FFXIVClientStructs.FFXIV.Client.Game.Group.PartyMember>();
|
private static int PartyMemberSize { get; } = Marshal.SizeOf<FFXIVClientStructs.FFXIV.Client.Game.Group.PartyMember>();
|
||||||
|
|
||||||
private FFXIVClientStructs.FFXIV.Client.Game.Group.GroupManager* GroupManagerStruct => (FFXIVClientStructs.FFXIV.Client.Game.Group.GroupManager*)this.GroupManagerAddress;
|
private FFXIVClientStructs.FFXIV.Client.Game.Group.GroupManager* GroupManagerStruct => (FFXIVClientStructs.FFXIV.Client.Game.Group.GroupManager*)this.GroupManagerAddress;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue