Esempio n. 1
0
    internal void Update(CustomLobbyMember now) {
      Team = now.Team;

      if (now.IsBot && IsBot) bot = now.bot;
      else if (now.IsPlayer && IsPlayer) player = now.player;
      else if (now.IsObserver && IsObserver) observer = now.observer;
      else throw new Exception("Cant update");

      OnChange();
    }
Esempio n. 2
0
 internal CustomLobbyMember(GameObserver observer, CustomLobby lobby) : base((BotParticipant) null, 2, lobby) {
   this.observer = observer;
   Team = 2;
 }