コード例 #1
0
ファイル: Opponent.cs プロジェクト: shimizu-tnet/EB
 private Opponent(
     BlockNumber blockNumber,
     GameNumber gameNumber,
     DrawNumber drawNumber,
     SeedLevel seedLevel,
     AssignOrder assignOrder,
     PlayerClassification playerClassification,
     EntryNumber entryNumber,
     SeedNumber seedNumber,
     TeamCodes teamCodes,
     TeamAbbreviatedNames teamAbbreviatedNames,
     PlayerCodes playerCodes,
     PlayerNames playerNames,
     GameNumber fromGameNumber)
 {
     this.BlockNumber = blockNumber;
     this.GameNumber  = gameNumber;
     this.DrawNumber  = drawNumber;
     this.SeedLevel   = seedLevel;
     this.AssignOrder = assignOrder;
     this.FramePlayerClassification = PlayerClassification.General;
     this.IsManuallySettingFrame    = false;
     this.IsManuallyAssigned        = false;
     this.PlayerClassification      = playerClassification;
     this.EntryNumber          = entryNumber;
     this.SeedNumber           = seedNumber;
     this.TeamCodes            = teamCodes;
     this.TeamAbbreviatedNames = teamAbbreviatedNames;
     this.PlayerCodes          = playerCodes;
     this.PlayerNames          = playerNames;
     this.FromGameNumber       = fromGameNumber;
 }
コード例 #2
0
ファイル: Opponent.cs プロジェクト: shimizu-tnet/EB
 /// <summary>
 /// 対戦者の新しいインスタンスを生成します。
 /// </summary>
 /// <param name="drawNumber">ドロー番号。</param>
 /// <param name="seedLevel">シードレベル。</param>
 /// <param name="assignOrder">割当順。</param>
 public Opponent(
     DrawNumber drawNumber,
     SeedLevel seedLevel,
     AssignOrder assignOrder)
 {
     this.DrawNumber  = drawNumber;
     this.SeedLevel   = seedLevel;
     this.AssignOrder = assignOrder;
     this.FramePlayerClassification = PlayerClassification.General;
     this.IsManuallySettingFrame    = false;
     this.IsManuallyAssigned        = false;
     this.PlayerClassification      = null;
     this.EntryNumber          = null;
     this.SeedNumber           = null;
     this.TeamCodes            = null;
     this.TeamAbbreviatedNames = null;
     this.PlayerCodes          = null;
     this.PlayerNames          = null;
 }