Room
Properties
-
int clientID
-
bool connected
-
bool connecting
-
ConnectionState connectionState
-
Datastore datastore
-
double datastoreFrameDuration
-
bool debugLogging
-
bool disconnected
-
Realtime realtime
-
double time
Methods
-
void Connect(string roomName, string appKey, IModel roomModel=null)
-
delegate void ConnectionStateChanged(Room room, ConnectionState previousConnectionState, ConnectionState connectionState)
-
AudioInputStream CreateAudioInputStream(bool voice, int sampleRate, int channels)
-
void Disconnect()
-
AudioOutputStream GetAudioOutputStream(int clientID, int streamID)
-
NetworkInfo GetNetworkStatistics()
-
Room()
-
Room(SessionCapture sessionCapture)
-
delegate void RPCMessageReceived(Room room, byte[] data, bool reliable)
-
bool SendRPCMessage(byte[] data, bool reliable)
-
bool SendRPCMessage(byte[] data, int dataLength, bool reliable)
-
void Tick(double deltaTime)
Events
Property Definitions
int clientID
bool connected
bool connecting
ConnectionState connectionState
Datastore datastore
double datastoreFrameDuration
bool debugLogging
bool disconnected
Realtime realtime
double time
Method Definitions
void Connect(string roomName, string appKey, IModel roomModel=null)
delegate void ConnectionStateChanged(Room room, ConnectionState previousConnectionState, ConnectionState connectionState)
AudioInputStream CreateAudioInputStream(bool voice, int sampleRate, int channels)
void Disconnect()
AudioOutputStream GetAudioOutputStream(int clientID, int streamID)
NetworkInfo GetNetworkStatistics()
Room()
Room(SessionCapture sessionCapture)
delegate void RPCMessageReceived(Room room, byte[] data, bool reliable)
bool SendRPCMessage(byte[] data, bool reliable)
bool SendRPCMessage(byte[] data, int dataLength, bool reliable)
void Tick(double deltaTime)
Event Definitions
ConnectionStateChanged connectionStateChanged
RPCMessageReceived rpcMessageReceived