コード例 #1
0
ファイル: GameHub.cs プロジェクト: alexpeta/TicTacToeSignalR
        public void PlayerJoined(Player johnDoe)
        {
            if (johnDoe == null || johnDoe == Player.Null)
            {
                Clients.Caller.notify(new UserNotification("Error occurred when joining game!", UserNotificationType.Red));
            }

            _lobby.TryAdd(johnDoe.Id, johnDoe);
            GetConnectedPlayers();
        }
コード例 #2
0
 partial void DeletePlayer(Player instance);
コード例 #3
0
 partial void UpdatePlayer(Player instance);
コード例 #4
0
 partial void InsertPlayer(Player instance);
コード例 #5
0
 public bool Delete(Player entity)
 {
     throw new NotImplementedException();
 }
コード例 #6
0
 public bool AddOrReplace(Player entity)
 {
     throw new NotImplementedException();
 }