Photon Fusion 1.1.9

Public Attributes | Static Public Attributes | List of all members
SimulationGlobalState Struct Reference

Stores the global state of a simulation. More...

Public Attributes

fixed int _size [WORDS]
 
int MaxPlayers
 Current player count.
 
fixed ulong PlayersActive [4]
 
SceneRef Scene
 Current Scene Ref.
 
SimulationModes ServerMode
 Current Simulation Mode.
 

Static Public Attributes

const int SIZE = WORDS * Allocator.REPLICATE_WORD_SIZE
 Total size of the Global State.
 
const int WORDS = 32
 Total size of the Global State in 4 byte words.
 

Detailed Description

Stores the global state of a simulation.