示例#1
0
 internal GameMember(BotParticipant bot, int team, Lobby lobby) : base(lobby) {
   this.bot = bot;
   Team = team;
 }
示例#2
0
 internal GameMember(PlayerParticipant player, int team, Lobby lobby) : base(lobby) {
   this.player = player;
   Team = team;
 }
示例#3
0
 internal LobbyInvitee(Invitee invitee, Lobby lobby) : base(lobby) {
   this.invitee = invitee;
 }
示例#4
0
    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);
    }
示例#5
0
 public LobbyMember(Lobby lobby) {
   this.lobby = lobby;
 }
示例#6
0
 public LobbyMember(Lobby lobby)
 {
     this.lobby = lobby;
 }