Пример #1
0
 public override void UpdateSpectatorMessage(string sender, string message)
 {
     if (isSpectator)
     {
         ServerHub.sendMessageToUser(sender, Username, message, game.Id);
     }
 }
Пример #2
0
 public override void UpdateSpectatorWhisper(string sender, string whisper)
 {
     if (isSpectator)
     {
         ServerHub.sendWhisperToUser(sender, Username, whisper, game.Id);
     }
 }
Пример #3
0
 public override void UpdateEndGame()
 {
     ServerHub.sendEndGameToUser(Username, game.Logger.LatestAction);
 }
Пример #4
0
 public override void UpdateGameState()
 {
     ServerHub.sendGameInfoToUser(Username, game.Logger.LatestAction);
 }
Пример #5
0
 public override void UpdateCards()
 {
     ServerHub.sendCardsToUser(Username, game.Logger.LatestAction);
 }
Пример #6
0
 public override void UpdateWhisper(string sender, string whisper)
 {
     ServerHub.sendWhisperToUser(sender, Username, whisper, game.Id);
 }
Пример #7
0
 public override void UpdateMessage(string sender, string message)
 {
     ServerHub.sendMessageToUser(sender, Username, message, game.Id);
 }