public Player GetPlayerRoom(int netId)
 {
     return(DictExtensions.GetRefVal(netId2PlayerRoom, netId));
 }
 public Player GetPlayerLobby(int netId)
 {
     return(DictExtensions.GetRefVal(netId2Player, netId));
 }
 public IRoom GetRoom(int roomId)
 {
     return(DictExtensions.GetRefVal(roomId2Room, roomId));
 }
 public Player GetPlayer(long playerId)
 {
     return(DictExtensions.GetRefVal(playerID2Player, playerId));
 }
 public List <IRoom> GetRooms(int roomType)
 {
     return(DictExtensions.GetRefVal(gameId2Rooms, roomType));
 }