Home › Class layouts › AI › AI::DiplomaticTransition

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::DiplomaticTransition

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

Linux offset Member Type
0x0 m_playerDiplomacy const GameCore::AI::Diplomatic*
0x8 m_opponentPlayer PlayerTypes
0xc m_currentScore FixedPoint
0x10 m_transitionIndex int
0x18 m_nextState Basic
0x20 m_nextStateIndex int
0x24 m_hasRequiredMin bool
0x28 m_requiredMin int
0x2c m_hasRequiredMax bool
0x30 m_requiredMax int
0x34 m_hasAllowedMin bool
0x38 m_allowedMin int
0x3c m_hasAllowedMax bool
0x40 m_allowedMax int
0x44 m_mustTransition bool
0x48 m_transitionScore FixedPoint
0x4c m_throttleTurns int
0x50 m_conditionHash uint32
0x54 m_transitionHash uint32
0x58 m_condition const ConditionFunction*
0x60 m_transition const TransitionFunction*
0x68 m_transitionActions ActionList
0x88 m_actionsGained ActionList
0xa8 m_actionsLost ActionList