From 82e23f45a7d22cfa59a179a8606e3bdc4189bc3e Mon Sep 17 00:00:00 2001
From: goaaats <16760685+goaaats@users.noreply.github.com>
Date: Sun, 16 Jan 2022 20:59:47 +0100
Subject: [PATCH] feat(PartyList): add PartyId
---
Dalamud/Game/ClientState/Party/PartyList.cs | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/Dalamud/Game/ClientState/Party/PartyList.cs b/Dalamud/Game/ClientState/Party/PartyList.cs
index bd303401f..047ea6e3e 100644
--- a/Dalamud/Game/ClientState/Party/PartyList.cs
+++ b/Dalamud/Game/ClientState/Party/PartyList.cs
@@ -62,6 +62,11 @@ namespace Dalamud.Game.ClientState.Party
///
public IntPtr AllianceListAddress => (IntPtr)this.GroupManagerStruct->AllianceMembers;
+ ///
+ /// Gets the ID of the party.
+ ///
+ public long PartyId => this.GroupManagerStruct->PartyId;
+
private static int PartyMemberSize { get; } = Marshal.SizeOf();
private FFXIVClientStructs.FFXIV.Client.Game.Group.GroupManager* GroupManagerStruct => (FFXIVClientStructs.FFXIV.Client.Game.Group.GroupManager*)this.GroupManagerAddress;