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

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

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

Public Member Functions

 SimNetworkEventStream (string roomName, IDependencyProvider provider)
 
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]
 The gamertag of the current player
 
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?
 

Detailed Description

This type defines the SimNetworkEventStream for the Multiplayer feature.

Related Links

img beamable-logo

Member Function Documentation

◆ SendEvent()

void Beamable.Experimental.Api.Sim.SimNetworkEventStream.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.SimNetworkEventStream.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: