internal GameMember(BotParticipant bot, int team, Lobby lobby) : base(lobby) { this.bot = bot; Team = team; }
internal GameMember(PlayerParticipant player, int team, Lobby lobby) : base(lobby) { this.player = player; Team = team; }
internal LobbyInvitee(Invitee invitee, Lobby lobby) : base(lobby) { this.invitee = invitee; }
void IQueueManager.JoinLobby(Lobby lobby) { var tbd = lobby as TBDLobby; var def = lobby as QueueLobby; var custom = lobby as CustomLobby; IClientSubPage page; if (tbd != null) { page = new TBDLobbyPage(tbd); } else if (def != null) { page = new DefaultLobbyPage(def); } else if (custom != null) { page = new CustomLobbyPage(custom); } else throw new Exception("Unknown lobby type " + lobby); LoLClient.QueueManager.ShowPage(page); }
public LobbyMember(Lobby lobby) { this.lobby = lobby; }