コード例 #1
0
 public ScenarioCreatureBlock(BinaryReader binaryReader)
 {
     this.type = binaryReader.ReadShortBlockIndex1();
     this.name = binaryReader.ReadShortBlockIndex1();
     this.objectData = new ScenarioObjectDatumStruct(binaryReader);
 }
コード例 #2
0
 public ScenarioCrateBlock(BinaryReader binaryReader)
 {
     this.type = binaryReader.ReadShortBlockIndex1();
     this.name = binaryReader.ReadShortBlockIndex1();
     this.objectData = new ScenarioObjectDatumStruct(binaryReader);
     this.paddingindexer = binaryReader.ReadBytes(4);
     this.permutationData = new ScenarioObjectPermutationStruct(binaryReader);
 }
コード例 #3
0
 public ScenarioSoundSceneryBlock(BinaryReader binaryReader)
 {
     this.type = binaryReader.ReadShortBlockIndex1();
     this.name = binaryReader.ReadShortBlockIndex1();
     this.objectData = new ScenarioObjectDatumStruct(binaryReader);
     this.soundScenery = new SoundSceneryDatumStruct(binaryReader);
 }
コード例 #4
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);
 }
コード例 #5
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);
 }