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