Пример #1
0
 public ScenarioLightBlock(BinaryReader binaryReader)
 {
     this.type = binaryReader.ReadShortBlockIndex1();
     this.name = binaryReader.ReadShortBlockIndex1();
     this.objectData = new ScenarioObjectDatumStruct(binaryReader);
     this.deviceData = new ScenarioDeviceStruct(binaryReader);
     this.lightData = new ScenarioLightStruct(binaryReader);
 }
Пример #2
0
 public ScenarioMachineBlock(BinaryReader binaryReader)
 {
     this.type = binaryReader.ReadShortBlockIndex1();
     this.name = binaryReader.ReadShortBlockIndex1();
     this.objectData = new ScenarioObjectDatumStruct(binaryReader);
     this.deviceData = new ScenarioDeviceStruct(binaryReader);
     this.machineData = new ScenarioMachineStructV3(binaryReader);
 }