Photon Fusion 1.1.12

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 More...
 
fixed ulong PlayersActive [4]
 
SceneRef Scene
 Current Scene Ref More...
 
SimulationModes ServerMode
 Current Simulation Mode More...
 

Static Public Attributes

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

Detailed Description

Stores the global state of a simulation

Member Data Documentation

◆ MaxPlayers

int MaxPlayers

Current player count

◆ PlayersActive

fixed ulong PlayersActive[4]

◆ Scene

SceneRef Scene

Current Scene Ref

◆ ServerMode

SimulationModes ServerMode

Current Simulation Mode

◆ SIZE

const int SIZE = WORDS * Allocator.REPLICATE_WORD_SIZE
static

Total size of the Global State

◆ WORDS

const int WORDS = 32
static

Total size of the Global State in 4 byte words