Beamable SDK
Public Member Functions | Properties | List of all members
Beamable.Experimental.Api.Sim.SimNetworkLocal Class Reference
Inheritance diagram for Beamable.Experimental.Api.Sim.SimNetworkLocal:
Inheritance graph
[legend]
Collaboration diagram for Beamable.Experimental.Api.Sim.SimNetworkLocal:
Collaboration graph
[legend]

Public Member Functions

 SimNetworkLocal (bool replay=false)
 
List< SimFrameTick (long curFrame, long maxFrame, long expectedMaxFrame)
 Synchronize the network interface and receive any fully realized frames by the network More...
 
void SendEvent (SimEvent evt)
 Push (or queue) an event onto the network More...
 

Properties

string ClientId [get]
 
bool Ready [get]
 
- Properties inherited from Beamable.Experimental.Api.Sim.SimNetworkInterface
string ClientId [get]
 Get a unique id for the client which is consistent across the network. Often, this will be the gamertag of the client's player.
 
bool Ready [get]
 Is the network ready to operate?
 

Member Function Documentation

◆ SendEvent()

void Beamable.Experimental.Api.Sim.SimNetworkLocal.SendEvent ( SimEvent  evt)
inline

Push (or queue) an event onto the network

Parameters
evtA SimEvent

Implements Beamable.Experimental.Api.Sim.SimNetworkInterface.

◆ Tick()

List< SimFrame > Beamable.Experimental.Api.Sim.SimNetworkLocal.Tick ( long  curFrame,
long  maxFrame,
long  expectedMaxFrame 
)
inline

Synchronize the network interface and receive any fully realized frames by the network

Parameters
curFrame
maxFrame
expectedMaxFrame
Returns

Implements Beamable.Experimental.Api.Sim.SimNetworkInterface.


The documentation for this class was generated from the following file: