예제 #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
 public ScenarioObjectDatumStruct(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 ScenarioObjectIdStruct(binaryReader);
     this.bSPPolicy = (BSPPolicy)binaryReader.ReadByte();
     this.padding = binaryReader.ReadByte();
     this.editorFolder = binaryReader.ReadShortBlockIndex1();
 }