Home › Class layouts › Diplomacy › Diplomacy::Deal::Instance

Needs the Community Extension. Not available in the unmodified game; works while the Community Extension mod is active (its own functions, or raw memory access with Mem/ObjMem).

Diplomacy::Deal::Instance

GameCore::Diplomacy::Deal::Instance — class, size 48 bytes (0x30).

Linux offset Member Type Lua methods (inferred)
0x0 m_id uint
0x4 m_ePlayer1 PlayerTypes reads: Deal:FindItemsByType, Deal:FindItemsByValueType, Deal:GetOtherPlayerID, Deal:GetPlayer1ID (+2 more)
0x8 m_ePlayer2 PlayerTypes
0xc m_bEnacted bool
0xd m_bIsDemand bool
0xe m_bIsGift bool
0x10 m_Items ItemArray writes: Deal:AddItemOfType, Deal:ClearItemsByType, Deal:ClearItemsByValue, Deal:RemoveItem (+2 more); reads: Deal:FindItemByID, Deal:FindItemByType, Deal:FindItemByValueType, Deal:GetItemCount (+17 more)