Home › Class layouts › AI › AI::DiplomaticState

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).

AI::DiplomaticState

GameCore::AI::DiplomaticState — class, size 200 bytes (0xc8).

Linux offset Member Type
0x0 m_opponent PlayerTypes
0x8 m_stateName Basic
0x10 m_stateIndex int
0x14 m_diplomaticBonus FixedPoint
0x18 m_isActive bool
0x19 m_isUpdating bool
0x1a m_hasChangedState bool
0x20 m_allowedActions ActionList
0x40 m_responseActions ActionList
0x60 m_desiredActions ActionList
0x80 m_transitions eastl::vector<GameCore::AI::DiplomaticTransition, eastl::allocator>
0xa0 m_triggers eastl::vector<GameCore::AI::TriggeredTransition, eastl::allocator>
0xc0 m_owner PlayerTypes