Ejemplo n.º 1
0
        public static PlayerInvite Create(PlayerIDType id, TeamIDType team, SlotType?slot)
        {
            var pi = new PlayerInvite();

            pi.InviteString = "00" + id + "00";
            pi.Team         = team;
            pi.Slot         = slot;
            return(pi);
        }
Ejemplo n.º 2
0
        public static PlayerInvite Create(string email, TeamIDType team, SlotType?slot)
        {
            var pi = new PlayerInvite();

            pi.InviteString = email;
            pi.Team         = team;
            pi.Slot         = slot;
            return(pi);
        }
Ejemplo n.º 3
0
 public GamePlayer(PlayerIDType id, GamePlayerState state, TeamIDType team, ushort scenarioID, bool isAI, bool isHumanTurnedIntoAI, bool hasCommittedOrders)
 {
     this.ID                 = id;
     this.State              = state;
     this.Team               = team;
     this.ScenarioID         = scenarioID;
     this.IsAI               = isAI;
     this.HumanTurnedIntoAI  = isHumanTurnedIntoAI;
     this.HasCommittedOrders = hasCommittedOrders;
 }