internal ObjectAiPropertiesBlockBase(BinaryReader binaryReader) { this.aiFlags = (AiFlags)binaryReader.ReadInt32(); this.aiTypeName = binaryReader.ReadStringID(); this.invalidName_ = binaryReader.ReadBytes(4); this.aiSize = (AiSize)binaryReader.ReadInt16(); this.leapJumpSpeed = (LeapJumpSpeed)binaryReader.ReadInt16(); }
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.ObjectAiPropertiesAiFlags = ((AiFlags)(binaryReader.ReadInt32())); this.AiTypeName = binaryReader.ReadStringID(); this.fieldpad = binaryReader.ReadBytes(4); this.AiSize = ((AiSizeEnum)(binaryReader.ReadInt16())); this.LeapJumpSpeed = ((LeapJumpSpeedEnum)(binaryReader.ReadInt16())); return(pointerQueue); }