示例#1
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="gameMode">GameMode to associate with the constants</param>
 /// <param name="modHeaderLength">Length of the ModHeader</param>
 /// <param name="modHeaderFluffLength">Length of the ModHeader excluding initial recordtype and length bytes.</param>
 /// <param name="groupConstants">Constants defining Groups</param>
 /// <param name="majorConstants">Constants defining Major Records</param>
 /// <param name="subConstants">Constants defining Sub Records</param>
 public GameConstants(
     GameMode gameMode,
     sbyte modHeaderLength,
     sbyte modHeaderFluffLength,
     RecordHeaderConstants groupConstants,
     MajorRecordConstants majorConstants,
     RecordHeaderConstants subConstants)
 {
     GameMode             = gameMode;
     ModHeaderLength      = modHeaderLength;
     ModHeaderFluffLength = modHeaderFluffLength;
     GroupConstants       = groupConstants;
     MajorConstants       = majorConstants;
     SubConstants         = subConstants;
 }
示例#2
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="release">Game Release to associate with the constants</param>
 /// <param name="modHeaderLength">Length of the ModHeader</param>
 /// <param name="modHeaderFluffLength">Length of the ModHeader excluding initial recordtype and length bytes.</param>
 /// <param name="groupConstants">Constants defining Groups</param>
 /// <param name="majorConstants">Constants defining Major Records</param>
 /// <param name="subConstants">Constants defining Sub Records</param>
 public GameConstants(
     GameRelease release,
     sbyte modHeaderLength,
     sbyte modHeaderFluffLength,
     RecordHeaderConstants groupConstants,
     MajorRecordConstants majorConstants,
     RecordHeaderConstants subConstants)
 {
     Release              = release;
     ModHeaderLength      = modHeaderLength;
     ModHeaderFluffLength = modHeaderFluffLength;
     GroupConstants       = groupConstants;
     MajorConstants       = majorConstants;
     SubConstants         = subConstants;
 }