コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="LcdsGameDTO" /> class.
 /// </summary>
 /// <param name="GameMode">GameMode.</param>
 /// <param name="GameMutators">GameMutators.</param>
 /// <param name="GameState">GameState.</param>
 /// <param name="GameType">GameType.</param>
 /// <param name="GameTypeConfigId">GameTypeConfigId.</param>
 /// <param name="Id">Id.</param>
 /// <param name="MapId">MapId.</param>
 /// <param name="MaxNumPlayers">MaxNumPlayers.</param>
 /// <param name="Name">Name.</param>
 /// <param name="Observers">Observers.</param>
 /// <param name="OptimisticLock">OptimisticLock.</param>
 /// <param name="OwnerSummary">OwnerSummary.</param>
 /// <param name="PassbackDataPacket">PassbackDataPacket.</param>
 /// <param name="PassbackUrl">PassbackUrl.</param>
 /// <param name="PracticeGameRewardsDisabledReasons">PracticeGameRewardsDisabledReasons.</param>
 /// <param name="RoomName">RoomName.</param>
 /// <param name="RoomPassword">RoomPassword.</param>
 /// <param name="SpectatorsAllowed">SpectatorsAllowed.</param>
 /// <param name="TeamOne">TeamOne.</param>
 /// <param name="TeamTwo">TeamTwo.</param>
 public LcdsGameDTO(string GameMode = default(string), List <string> GameMutators = default(List <string>), string GameState = default(string), string GameType = default(string), int?GameTypeConfigId = default(int?), long?Id = default(long?), int?MapId = default(int?), int?MaxNumPlayers = default(int?), string Name = default(string), List <LcdsPlayerParticipant> Observers = default(List <LcdsPlayerParticipant>), long?OptimisticLock = default(long?), LcdsPlayerParticipant OwnerSummary = default(LcdsPlayerParticipant), string PassbackDataPacket = default(string), string PassbackUrl = default(string), List <string> PracticeGameRewardsDisabledReasons = default(List <string>), string RoomName = default(string), string RoomPassword = default(string), string SpectatorsAllowed = default(string), List <LcdsPlayerParticipant> TeamOne = default(List <LcdsPlayerParticipant>), List <LcdsPlayerParticipant> TeamTwo = default(List <LcdsPlayerParticipant>))
 {
     this.GameMode         = GameMode;
     this.GameMutators     = GameMutators;
     this.GameState        = GameState;
     this.GameType         = GameType;
     this.GameTypeConfigId = GameTypeConfigId;
     this.Id                 = Id;
     this.MapId              = MapId;
     this.MaxNumPlayers      = MaxNumPlayers;
     this.Name               = Name;
     this.Observers          = Observers;
     this.OptimisticLock     = OptimisticLock;
     this.OwnerSummary       = OwnerSummary;
     this.PassbackDataPacket = PassbackDataPacket;
     this.PassbackUrl        = PassbackUrl;
     this.PracticeGameRewardsDisabledReasons = PracticeGameRewardsDisabledReasons;
     this.RoomName          = RoomName;
     this.RoomPassword      = RoomPassword;
     this.SpectatorsAllowed = SpectatorsAllowed;
     this.TeamOne           = TeamOne;
     this.TeamTwo           = TeamTwo;
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="LcdsPracticeGameSearchResult" /> class.
 /// </summary>
 /// <param name="AllowSpectators">AllowSpectators.</param>
 /// <param name="GameMap">GameMap.</param>
 /// <param name="GameMapId">GameMapId.</param>
 /// <param name="GameMode">GameMode.</param>
 /// <param name="Id">Id.</param>
 /// <param name="MaxNumPlayers">MaxNumPlayers.</param>
 /// <param name="Name">Name.</param>
 /// <param name="Owner">Owner.</param>
 /// <param name="PickType">PickType.</param>
 /// <param name="PrivateGame">PrivateGame.</param>
 /// <param name="SpectatorCount">SpectatorCount.</param>
 /// <param name="Team1Count">Team1Count.</param>
 /// <param name="Team2Count">Team2Count.</param>
 public LcdsPracticeGameSearchResult(string AllowSpectators = default(string), LcdsGameMap GameMap = default(LcdsGameMap), int?GameMapId = default(int?), string GameMode = default(string), long?Id = default(long?), int?MaxNumPlayers = default(int?), string Name = default(string), LcdsPlayerParticipant Owner = default(LcdsPlayerParticipant), string PickType = default(string), bool?PrivateGame = default(bool?), int?SpectatorCount = default(int?), int?Team1Count = default(int?), int?Team2Count = default(int?))
 {
     this.AllowSpectators = AllowSpectators;
     this.GameMap         = GameMap;
     this.GameMapId       = GameMapId;
     this.GameMode        = GameMode;
     this.Id             = Id;
     this.MaxNumPlayers  = MaxNumPlayers;
     this.Name           = Name;
     this.Owner          = Owner;
     this.PickType       = PickType;
     this.PrivateGame    = PrivateGame;
     this.SpectatorCount = SpectatorCount;
     this.Team1Count     = Team1Count;
     this.Team2Count     = Team2Count;
 }