示例#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);
        }
示例#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);
        }
示例#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;
 }