DIFF

class PlayerSandstormData

Constants 3

private static const int STATE_WAS_IN_VEHICLE = 1

Bit 0

private static const int STATE_WAS_UNDER_ROOF = 2

Bit 1

private static const int STATE_WAS_IN_INTERIOR = 4

Bit 2

Members 4

protected int m_StateBits = 0

All boolean states in one integer

Referenced by GetState(), and SetState()
float m_VehicleTransitionTimer = 0.0

Vehicle transition timer

float m_InteriorTransitionTimer = 0.0

Interior transition timer

float m_UndergroundTransitionTimer = 0.0

Underground transition timer

Methods 8

protected bool GetState(int stateBit)
References m_StateBits
protected void SetState(int stateBit, bool value)
References m_StateBits
void SetWasInVehicle(bool value)
void SetWasUnderRoof(bool value)
void SetWasInInterior(bool value)