Свойство | Тип | Описание | |
---|---|---|---|
Users | ConnectionMapping |
||
Visitors | HashSet |
Метод | Описание | |
---|---|---|
NotifyPlayersConnected ( string connectionId ) : void |
Notify all connected clients
|
|
NotifyVisitorCount ( ) : void |
Notify all connected clients that there is X clients online
|
|
OnConnected ( ) : System.Threading.Tasks.Task |
|
|
OnDisconnected ( bool stopCalled ) : System.Threading.Tasks.Task |
|
|
OnReconnected ( ) : System.Threading.Tasks.Task |
|
public static NotifyPlayersConnected ( string connectionId ) : void | ||
connectionId | string | |
Результат | void |
public static NotifyVisitorCount ( ) : void | ||
Результат | void |
public OnConnected ( ) : System.Threading.Tasks.Task | ||
Результат | System.Threading.Tasks.Task |
public OnDisconnected ( bool stopCalled ) : System.Threading.Tasks.Task | ||
stopCalled | bool | |
Результат | System.Threading.Tasks.Task |
public OnReconnected ( ) : System.Threading.Tasks.Task | ||
Результат | System.Threading.Tasks.Task |
public static ConnectionMapping |
||
Результат | ConnectionMapping |