Property | Type | Description | |
---|---|---|---|
clientsUpdated | ClientsUpdated | ||
messageReceived | MessageReceived | ||
onDisconnected | OnDisconnected | ||
onSocketDisconnected | OnSocketDisconnected | ||
onUpdateConnection | OnUpdateConnection | ||
onUpdateDroppedClients | OnUpdateDroppedClients |
Method | Description | |
---|---|---|
CloseRoom ( ) : void | ||
Drop ( ) : void | ||
Init ( ) : void | ||
OnGainFocus ( ) : void | ||
OnLoseFocus ( ) : void | ||
Reconnect ( ) : void | ||
RequestRoomList ( Action response ) : void | ||
SendMessage ( NetMessage msg ) : void | ||
StartAsClient ( string name, string roomId, Action response ) : void | ||
StartAsHost ( string name, Action response ) : void | ||
Stop ( ) : void | ||
SyncDuration ( float duration ) : void |
Method | Description | |
---|---|---|
OnClose ( SocketIOEvent e ) : void | ||
OnError ( SocketIOEvent e ) : void | ||
OnMessage ( SocketIOEvent e ) : void | ||
OnOpen ( SocketIOEvent e = null ) : void | ||
OnRoomDestroyed ( SocketIOEvent e = null ) : void | ||
OnUpdateDuration ( SocketIOEvent e ) : void | ||
OnUpdateRoomList ( SocketIOEvent e ) : void | ||
Register ( string clientId, Response.Room room ) : void | ||
SendSocketDisconnectMessage ( ) : void | ||
SendUpdateConnectionMessage ( bool connected ) : void |
public RequestRoomList ( Action response ) : void | ||
response | Action | |
return | void |
public StartAsClient ( string name, string roomId, Action response ) : void | ||
name | string | |
roomId | string | |
response | Action | |
return | void |
public StartAsHost ( string name, Action response ) : void | ||
name | string | |
response | Action | |
return | void |
public SyncDuration ( float duration ) : void | ||
duration | float | |
return | void |
public OnSocketDisconnected onSocketDisconnected | ||
return | OnSocketDisconnected |
public OnUpdateConnection onUpdateConnection | ||
return | OnUpdateConnection |