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);
public bool Delete(Player entity) { throw new NotImplementedException(); }
public bool AddOrReplace(Player entity) { throw new NotImplementedException(); }