Esempio n. 1
0
 internal InstantaneousDamageRepsonseBlockBase(BinaryReader binaryReader)
 {
     this.responseType         = (ResponseType)binaryReader.ReadInt16();
     this.constraintDamageType = (ConstraintDamageType)binaryReader.ReadInt16();
     this.flags                          = (Flags)binaryReader.ReadInt32();
     this.damageThreshold                = binaryReader.ReadSingle();
     this.transitionEffect               = binaryReader.ReadTagReference();
     this.damageEffect                   = new InstantaneousResponseDamageEffectStructBlock(binaryReader);
     this.region                         = binaryReader.ReadStringID();
     this.newState                       = (NewState)binaryReader.ReadInt16();
     this.runtimeRegionIndex             = binaryReader.ReadInt16();
     this.effectMarkerName               = binaryReader.ReadStringID();
     this.damageEffectMarker             = new InstantaneousResponseDamageEffectMarkerStructBlock(binaryReader);
     this.responseDelay                  = binaryReader.ReadSingle();
     this.delayEffect                    = binaryReader.ReadTagReference();
     this.delayEffectMarkerName          = binaryReader.ReadStringID();
     this.constraintGroupName            = binaryReader.ReadStringID();
     this.ejectingSeatLabel              = binaryReader.ReadStringID();
     this.skipFraction                   = binaryReader.ReadSingle();
     this.destroyedChildObjectMarkerName = binaryReader.ReadStringID();
     this.totalDamageThreshold           = binaryReader.ReadSingle();
 }
 public InstantaneousDamageRepsonseBlock(BinaryReader binaryReader)
 {
     this.responseType = (ResponseType)binaryReader.ReadInt16();
     this.constraintDamageType = (ConstraintDamageType)binaryReader.ReadInt16();
     this.flags = (Flags)binaryReader.ReadInt32();
     this.damageThresholdRepsonseFiresAfterCrossingThisThreshold1FullHealth = binaryReader.ReadSingle();
     this.transitionEffect = binaryReader.ReadTagReference();
     this.damageEffect = new InstantaneousResponseDamageEffectStruct(binaryReader);
     this.region = binaryReader.ReadStringID();
     this.newState = (NewState)binaryReader.ReadInt16();
     this.runtimeRegionIndex = binaryReader.ReadInt16();
     this.effectMarkerName = binaryReader.ReadStringID();
     this.damageEffectMarker = new InstantaneousResponseDamageEffectMarkerStruct(binaryReader);
     this.responseDelayInSeconds = binaryReader.ReadSingle();
     this.delayEffect = binaryReader.ReadTagReference();
     this.delayEffectMarkerName = binaryReader.ReadStringID();
     this.constraintGroupName = binaryReader.ReadStringID();
     this.ejectingSeatLabel = binaryReader.ReadStringID();
     this.skipFraction = binaryReader.ReadSingle();
     this.destroyedChildObjectMarkerName = binaryReader.ReadStringID();
     this.totalDamageThreshold = binaryReader.ReadSingle();
 }