public override void Parse(GameBitBuffer buffer) { if(buffer.ReadBool()) Field0 = buffer.ReadInt(20); Field1 = GameAttributeList.Attributes[buffer.ReadInt(10)]; }
public GameAttributeDependency(GameAttribute attribute, int? key, bool usesExplicitKey, bool isManualDependency) { Attribute = attribute; Key = key; UsesExplicitKey = usesExplicitKey; IsManualDependency = isManualDependency; }