Exemplo n.º 1
0
        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();
        }
 partial void DeletePlayer(Player instance);
 partial void UpdatePlayer(Player instance);
 partial void InsertPlayer(Player instance);
Exemplo n.º 5
0
 public bool Delete(Player entity)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 6
0
 public bool AddOrReplace(Player entity)
 {
     throw new NotImplementedException();
 }