Photon Fusion 2.0.3

Classes | Public Member Functions | Properties | List of all members
SimulationInput Class Reference

Simulation Input More...

Classes

class  Buffer
 Buffer for SimulationInputs. More...
 

Public Member Functions

void Clear (int wordCount)
 Clear a total of wordCount words from this input. More...
 
void CopyFrom (SimulationInput source, int wordCount)
 Copy wordCount words from source to this input. More...
 

Properties

int * Data [get]
 Data for this input. More...
 
SimulationInputHeaderHeader [get]
 Header for this input. More...
 
PlayerRef Player [get, set]
 Player that owns this input. More...
 
int Sent [get, set]
 Simulation input sent count. More...
 

Detailed Description

Simulation Input

Member Function Documentation

◆ Clear()

void Clear ( int  wordCount)

Clear a total of wordCount words from this input.

Parameters
wordCountWord count to clear.

◆ CopyFrom()

void CopyFrom ( SimulationInput  source,
int  wordCount 
)

Copy wordCount words from source to this input.

Parameters
sourceInput to copy from.
wordCountWord count to copy.

Property Documentation

◆ Data

int* Data
get

Data for this input.

◆ Header

SimulationInputHeader* Header
get

Header for this input.

◆ Player

PlayerRef Player
getset

Player that owns this input.

◆ Sent

int Sent
getset

Simulation input sent count.