Esempio n. 1
0
 public override System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> ReadFields(System.IO.BinaryReader binaryReader)
 {
     System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(base.ReadFields(binaryReader));
     this.Name               = binaryReader.ReadStringID();
     this.ParentName         = binaryReader.ReadStringID();
     this.fieldpad           = binaryReader.ReadBytes(2);
     this.MaterialsFlags     = ((Flags)(binaryReader.ReadInt16()));
     this.OldMaterialType    = ((OldMaterialTypeEnum)(binaryReader.ReadInt16()));
     this.fieldpad0          = binaryReader.ReadBytes(2);
     this.GeneralArmor       = binaryReader.ReadStringID();
     this.SpecificArmor      = binaryReader.ReadStringID();
     pointerQueue            = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(pointerQueue.Concat(this.PhysicsProperties.ReadFields(binaryReader)));
     this.OldMaterialPhysics = binaryReader.ReadTagReference();
     this.BreakableSurface   = binaryReader.ReadTagReference();
     pointerQueue            = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(pointerQueue.Concat(this.Sweeteners.ReadFields(binaryReader)));
     this.MaterialEffects    = binaryReader.ReadTagReference();
     return(pointerQueue);
 }