internal ScenarioSoundSceneryBlockBase(BinaryReader binaryReader)
 {
     this.type         = binaryReader.ReadShortBlockIndex1();
     this.name         = binaryReader.ReadShortBlockIndex1();
     this.objectData   = new ScenarioObjectDatumStructBlock(binaryReader);
     this.soundScenery = new SoundSceneryDatumStructBlock(binaryReader);
 }
Esempio n. 2
0
 internal ScenarioEquipmentBlockBase(BinaryReader binaryReader)
 {
     this.type          = binaryReader.ReadShortBlockIndex1();
     this.name          = binaryReader.ReadShortBlockIndex1();
     this.objectData    = new ScenarioObjectDatumStructBlock(binaryReader);
     this.equipmentData = new ScenarioEquipmentDatumStructBlock(binaryReader);
 }
 internal ScenarioLightBlockBase(BinaryReader binaryReader)
 {
     this.type       = binaryReader.ReadShortBlockIndex1();
     this.name       = binaryReader.ReadShortBlockIndex1();
     this.objectData = new ScenarioObjectDatumStructBlock(binaryReader);
     this.deviceData = new ScenarioDeviceStructBlock(binaryReader);
     this.lightData  = new ScenarioLightStructBlock(binaryReader);
 }
 internal ScenarioCrateBlockBase(BinaryReader binaryReader)
 {
     this.type            = binaryReader.ReadShortBlockIndex1();
     this.name            = binaryReader.ReadShortBlockIndex1();
     this.objectData      = new ScenarioObjectDatumStructBlock(binaryReader);
     this.indexer         = binaryReader.ReadBytes(4);
     this.permutationData = new ScenarioObjectPermutationStructBlock(binaryReader);
 }