Interface BusClientHandler
Assembly: cs.temp.dll.dll
Syntax
public interface BusClientHandler
Methods
Connected(RoomBusConnection, Int32)
Declaration
void Connected(RoomBusConnection conn, int peerID)
Parameters
Disconnected(RoomBusConnection)
Declaration
bool Disconnected(RoomBusConnection conn)
Parameters
Returns
Type | Description |
---|
System.Boolean | |
OnChatMessages(RoomBusConnection, Byte[][])
Declaration
void OnChatMessages(RoomBusConnection conn, byte[][] bytes)
Parameters
OnCustomTargetSet(RoomBusConnection, Byte, String)
Declaration
void OnCustomTargetSet(RoomBusConnection conn, byte peerType, string name)
Parameters
OnData(RoomBusConnection, Byte[])
Declaration
bool OnData(RoomBusConnection conn, byte[] bytes)
Parameters
Returns
Type | Description |
---|
System.Boolean | |
OnError(Error, Exception, String)
Declaration
void OnError(Error error, Exception ex, string msg)
Parameters
Type | Name | Description |
---|
Error | error | |
System.Exception | ex | |
System.String | msg | |
OnLatestScores(RoomBusConnection, Int32, Object[][])
Declaration
bool OnLatestScores(RoomBusConnection conn, int limit, object[][] players)
Parameters
Returns
Type | Description |
---|
System.Boolean | |
OnPlayerCount(RoomBusConnection, MessageBusPlayerCount)
Declaration
void OnPlayerCount(RoomBusConnection conn, MessageBusPlayerCount data)
Parameters
OnPlayerReject(RejectReason)
Declaration
void OnPlayerReject(RejectReason reason)
Parameters
OnPlayersReady(RoomBusConnection, Byte[][])
Declaration
void OnPlayersReady(RoomBusConnection conn, byte[][] infoJsons)
Parameters
OnService(RoomBusConnection, String, Byte[])
Declaration
bool OnService(RoomBusConnection conn, string requestID, byte[] data)
Parameters
Returns
Type | Description |
---|
System.Boolean | |
OnSession(String)
Declaration
void OnSession(string session)
Parameters
Type | Name | Description |
---|
System.String | session | |
OnTopPlayers(RoomBusConnection, Int32, Object[][])
Declaration
bool OnTopPlayers(RoomBusConnection conn, int limit, object[][] players)
Parameters
Returns
Type | Description |
---|
System.Boolean | |