internal ScenarioObjectPermutationStructBlockBase(BinaryReader binaryReader) { this.variantName = binaryReader.ReadStringID(); this.activeChangeColors = (ActiveChangeColors)binaryReader.ReadInt32(); this.primaryColor = binaryReader.ReadRGBColor(); this.secondaryColor = binaryReader.ReadRGBColor(); this.tertiaryColor = binaryReader.ReadRGBColor(); this.quaternaryColor = binaryReader.ReadRGBColor(); }
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.VariantName = binaryReader.ReadStringID(); this.ScenarioObjectPermutationStructActiveChangeColors = ((ActiveChangeColors)(binaryReader.ReadInt32())); this.PrimaryColor = binaryReader.ReadColourR1G1B1(); this.SecondaryColor = binaryReader.ReadColourR1G1B1(); this.TertiaryColor = binaryReader.ReadColourR1G1B1(); this.QuaternaryColor = binaryReader.ReadColourR1G1B1(); return(pointerQueue); }
public ScenarioObjectPermutationStruct(BinaryReader binaryReader) { this.variantName = binaryReader.ReadStringID(); this.activeChangeColors = (ActiveChangeColors)binaryReader.ReadInt32(); this.primaryColor = binaryReader.ReadRGBColor(); this.secondaryColor = binaryReader.ReadRGBColor(); this.tertiaryColor = binaryReader.ReadRGBColor(); this.quaternaryColor = binaryReader.ReadRGBColor(); }