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

This type defines the SimBehavior for the Multiplayer feature. More...

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

Public Member Functions

void SimInit (SimClient client, string simId)
 
void Destroy ()
 
virtual void SimEnter ()
 
virtual void SimExit ()
 
void On< T > (SimClient.EventCallback< T > callback)
 
void SendEvent (object evt)
 
void OnTick (SimClient.EventCallback< long > callback)
 
virtual int StateHash ()
 
int RandomInt ()
 
Spawn< T > (SimBehavior original, string id="")
 

Static Public Attributes

const int FRAME_RATE = 20
 

Properties

string SimId [get]
 
SimClient SimClient [get]
 
List< SimClient.EventCallback< string > > EventCallbacks [get]
 

Detailed Description

This type defines the SimBehavior for the Multiplayer feature.

Related Links

img beamable-logo


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