コード例 #1
0
 public override System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> ReadFields(System.IO.BinaryReader binaryReader)
 {
     System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(base.ReadFields(binaryReader));
     this.Radius            = binaryReader.ReadRange();
     this.CutoffScale       = binaryReader.ReadSingle();
     this.DamageEffectFlags = ((Flags)(binaryReader.ReadInt32()));
     this.SideEffect        = ((SideEffectEnum)(binaryReader.ReadInt16()));
     this.Category          = ((CategoryEnum)(binaryReader.ReadInt16()));
     this.DamageEffectDamageEffectFlags0 = ((DamageEffectFlags0)(binaryReader.ReadInt32()));
     this.AOECoreRadius          = binaryReader.ReadSingle();
     this.DamageLowerBound       = binaryReader.ReadSingle();
     this.DamageUpperBound       = binaryReader.ReadRange();
     this.DmgInnerConeAngle      = binaryReader.ReadSingle();
     pointerQueue                = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(pointerQueue.Concat(this.Blah.ReadFields(binaryReader)));
     this.ActiveCamouflageDamage = binaryReader.ReadSingle();
     this.Stun        = binaryReader.ReadSingle();
     this.MaximumStun = binaryReader.ReadSingle();
     this.StunTime    = binaryReader.ReadSingle();
     this.InstantaneousAcceleration       = binaryReader.ReadSingle();
     this.RiderDirectDamageScale          = binaryReader.ReadSingle();
     this.RiderMaximumTransferDamageScale = binaryReader.ReadSingle();
     this.RiderMinimumTransferDamageScale = binaryReader.ReadSingle();
     this.GeneralDamage  = binaryReader.ReadStringID();
     this.SpecificDamage = binaryReader.ReadStringID();
     this.AIStunRadius   = binaryReader.ReadSingle();
     this.AIStunBounds   = binaryReader.ReadRange();
     this.ShakeRadius    = binaryReader.ReadSingle();
     this.EMPRadius      = binaryReader.ReadSingle();
     pointerQueue.Enqueue(binaryReader.ReadBlamPointer(76));
     this.Duration             = binaryReader.ReadSingle();
     this.FadeFunction         = ((FadeFunctionEnum)(binaryReader.ReadInt16()));
     this.fieldpad             = binaryReader.ReadBytes(2);
     this.Rotation             = binaryReader.ReadSingle();
     this.Pushback             = binaryReader.ReadSingle();
     this.Jitter               = binaryReader.ReadRange();
     this.Duration0            = binaryReader.ReadSingle();
     this.FalloffFunction      = ((FalloffFunctionEnum)(binaryReader.ReadInt16()));
     this.fieldpad0            = binaryReader.ReadBytes(2);
     this.RandomTranslation    = binaryReader.ReadSingle();
     this.RandomRotation       = binaryReader.ReadSingle();
     this.WobbleFunction       = ((WobbleFunctionEnum)(binaryReader.ReadInt16()));
     this.fieldpad1            = binaryReader.ReadBytes(2);
     this.WobbleFunctionPeriod = binaryReader.ReadSingle();
     this.WobbleWeight         = binaryReader.ReadSingle();
     this.Sound           = binaryReader.ReadTagReference();
     this.ForwardVelocity = binaryReader.ReadSingle();
     this.ForwardRadius   = binaryReader.ReadSingle();
     this.ForwardExponent = binaryReader.ReadSingle();
     this.OutwardVelocity = binaryReader.ReadSingle();
     this.OutwardRadius   = binaryReader.ReadSingle();
     this.OutwardExponent = binaryReader.ReadSingle();
     return(pointerQueue);
 }
コード例 #2
0
 public override System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> ReadFields(System.IO.BinaryReader binaryReader)
 {
     System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer> pointerQueue = new System.Collections.Generic.Queue <Moonfish.Tags.BlamPointer>(base.ReadFields(binaryReader));
     this.Type             = ((TypeEnum)(binaryReader.ReadInt16()));
     this.Priority         = ((PriorityEnum)(binaryReader.ReadInt16()));
     this.Duration         = binaryReader.ReadSingle();
     this.FadeFunction     = ((FadeFunctionEnum)(binaryReader.ReadInt16()));
     this.fieldpad         = binaryReader.ReadBytes(2);
     this.MaximumIntensity = binaryReader.ReadSingle();
     this.Color            = binaryReader.ReadVector4();
     return(pointerQueue);
 }