public FlagType(string name, string abbv, FlagEndurances _endurance, ShotTypes sType, FlagQualities quality, TeamColors team, string help) { FlagName = name; FlagAbbv = abbv; FlagEndurance = _endurance; FlagShot = sType; FlagQuality = quality; FlagTeam = team; FlagHelp = help; Custom = false; }
public override void Unpack(byte[] data) { Reset(data); Abreviation = ReadFixedSizeString(2); Quality = (FlagQualities)ReadByte(); ShotType = (ShotTypes)ReadByte(); Name = ReadULongPascalString(); HelpText = ReadULongPascalString(); }