internal ScenarioObjectDatumStructBlockBase(BinaryReader binaryReader) { this.placementFlags = (PlacementFlags)binaryReader.ReadInt32(); this.position = binaryReader.ReadVector3(); this.rotation = binaryReader.ReadVector3(); this.scale = binaryReader.ReadSingle(); this.transformFlags = (TransformFlags)binaryReader.ReadInt16(); this.manualBSPFlags = binaryReader.ReadBlockFlags16(); this.objectID = new ScenarioObjectIdStructBlock(binaryReader); this.bSPPolicy = (BSPPolicy)binaryReader.ReadByte(); this.invalidName_ = binaryReader.ReadBytes(1); this.editorFolder = binaryReader.ReadShortBlockIndex1(); }
internal StructureDevicePortalAssociationBlockBase(BinaryReader binaryReader) { this.deviceId = new ScenarioObjectIdStructBlock(binaryReader); this.firstGamePortalIndex = binaryReader.ReadInt16(); this.gamePortalCount = binaryReader.ReadInt16(); }
internal StructureBspFakeLightprobesBlockBase(BinaryReader binaryReader) { this.objectIdentifier = new ScenarioObjectIdStructBlock(binaryReader); this.renderLighting = new RenderLightingStructBlock(binaryReader); }
internal OldUnusedObjectIdentifiersBlockBase(BinaryReader binaryReader) { this.objectID = new ScenarioObjectIdStructBlock(binaryReader); }