Méthode | Description | |
---|---|---|
CancelLaunch ( ) : void |
Sends a chat message to everyone in the user's match with format: 'Name: message'
|
|
OnConnected ( ) : System.Threading.Tasks.Task |
New user has connected.
|
|
OnDisconnected ( bool stopCalled ) : System.Threading.Tasks.Task |
User has disconnected.
|
|
OnReconnected ( ) : System.Threading.Tasks.Task |
User has reconnected.
|
|
Ready ( bool isReady ) : void |
When the user presses the Ready button.
|
|
SendChatMessage ( string message ) : void |
Sends a chat message to everyone in the user's match with format: 'Name: message'
|
|
SendToMatch ( string message ) : void |
Sends a message to everyone in a match, including the user who sent it.
|
|
SendToUser ( string connectionId, string message ) : void |
Sends a message to a single user.
|
|
UpdateMatchUserLists ( |
Sends the current userlist to everyone in a match.
|
|
UpdateReadyCount ( |
Sends the current readylist to everyone in a match.
|
Méthode | Description | |
---|---|---|
CreateMatch ( ) : |
Creates an new empty match.
|
|
CreateUser ( ) : void |
Creates a new user in the _users dictionary.
|
|
FindMatch ( ) : void |
Finds a match for the user.
|
|
SendToMatchExcept ( string matchId, string message ) : void |
Sends to everyone in a match except the current user.
|
public OnConnected ( ) : System.Threading.Tasks.Task | ||
Résultat | System.Threading.Tasks.Task |
public OnDisconnected ( bool stopCalled ) : System.Threading.Tasks.Task | ||
stopCalled | bool | |
Résultat | System.Threading.Tasks.Task |
public OnReconnected ( ) : System.Threading.Tasks.Task | ||
Résultat | System.Threading.Tasks.Task |
public SendChatMessage ( string message ) : void | ||
message | string | |
Résultat | void |
public SendToMatch ( string message ) : void | ||
message | string | |
Résultat | void |
public SendToUser ( string connectionId, string message ) : void | ||
connectionId | string | |
message | string | |
Résultat | void |
public UpdateMatchUserLists ( |
||
match | ||
Résultat | void |
public UpdateReadyCount ( |
||
match | ||
Résultat | void |