예제 #1
0
 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();
 }
예제 #2
0
 internal StructureDevicePortalAssociationBlockBase(BinaryReader binaryReader)
 {
     this.deviceId             = new ScenarioObjectIdStructBlock(binaryReader);
     this.firstGamePortalIndex = binaryReader.ReadInt16();
     this.gamePortalCount      = binaryReader.ReadInt16();
 }
예제 #3
0
 internal StructureBspFakeLightprobesBlockBase(BinaryReader binaryReader)
 {
     this.objectIdentifier = new ScenarioObjectIdStructBlock(binaryReader);
     this.renderLighting   = new RenderLightingStructBlock(binaryReader);
 }
예제 #4
0
 internal OldUnusedObjectIdentifiersBlockBase(BinaryReader binaryReader)
 {
     this.objectID = new ScenarioObjectIdStructBlock(binaryReader);
 }