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); }
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); }
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; }