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); }
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); }