Beamable SDK
Public Member Functions | Public Attributes | Properties | List of all members
Beamable.Experimental.Api.Sim.SimClient Class Reference

This class defines the main entry point for the Multiplayer feature. More...

Collaboration diagram for Beamable.Experimental.Api.Sim.SimClient:
Collaboration graph
[legend]

Public Member Functions

delegate void EventCallback< T > (T body)
 
 SimClient (SimNetworkInterface network, long framesPerSecond, long targetNetworkLead)
 
SimLog.Snapshot TakeSnapshot ()
 
void RestoreSnapshot (SimLog.Snapshot snapshot)
 
void SendEvent (object evt)
 
void SendEvent (string name, object evt)
 
void Update ()
 
Spawn< T > (SimBehavior original, string id="")
 
void RemoveSimBehavior (SimBehavior simObj)
 
EventCallback< string > On< T > (string evt, string origin, EventCallback< T > callback)
 
void Remove (EventCallback< string > callback)
 
EventCallback< string > OnInit (EventCallback< string > callback)
 
EventCallback< string > OnConnect (EventCallback< string > callback)
 
EventCallback< string > OnDisconnect (EventCallback< string > callback)
 
EventCallback< string > OnTick (EventCallback< long > callback)
 
int RandomInt ()
 

Public Attributes

SimNetworkInterface Network
 

Properties

int LogHash [get]
 
int StateHash [get]
 
long Ping [get]
 
string ClientId [get]
 

Detailed Description

This class defines the main entry point for the Multiplayer feature.

Related Links

img beamable-logo


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