コード例 #1
0
 public ExplosionData(string Tag = null)
     : base(Tag)
 {
     Force                    = new Single();
     Damage                   = new Single();
     Radius                   = new Single();
     Light                    = new FormID();
     Sound1                   = new FormID();
     Flags                    = new ExplosionFlags();
     ISRadius                 = new Single();
     ImpactDataSet            = new FormID();
     Sound2                   = new FormID();
     RadiationLevel           = new Single();
     RadiationDissipationTime = new Single();
     RadiationRadius          = new Single();
     SoundLevel               = new SoundLevel();
 }
コード例 #2
0
 public ExplosionData(Single Force, Single Damage, Single Radius, FormID Light, FormID Sound1, ExplosionFlags Flags, Single ISRadius, FormID ImpactDataSet, FormID Sound2, Single RadiationLevel, Single RadiationDissipationTime, Single RadiationRadius, SoundLevel SoundLevel)
 {
     this.Force                    = Force;
     this.Damage                   = Damage;
     this.Radius                   = Radius;
     this.Light                    = Light;
     this.Sound1                   = Sound1;
     this.Flags                    = Flags;
     this.ISRadius                 = ISRadius;
     this.ImpactDataSet            = ImpactDataSet;
     this.Sound2                   = Sound2;
     this.RadiationLevel           = RadiationLevel;
     this.RadiationDissipationTime = RadiationDissipationTime;
     this.RadiationRadius          = RadiationRadius;
     this.SoundLevel               = SoundLevel;
 }