public SubEffecterStat(SubEffecterDef d)
        {
            this.ticksBeforeSustainerStart = d.ticksBeforeSustainerStart;
            this.intermittentSoundInterval = d.intermittentSoundInterval;
            this.airTime            = d.airTime;
            this.scale              = d.scale;
            this.rotationRate       = d.rotationRate;
            this.rotation           = d.rotation;
            this.speed              = d.speed;
            this.absoluteAngle      = d.absoluteAngle;
            this.angle              = d.angle;
            this.positionRadius     = d.positionRadius;
            this.positionLerpFactor = d.positionLerpFactor;
            this.spawnLocType       = d.spawnLocType;
            this.chancePerTick      = d.chancePerTick;
            this.ticksBetweenMotes  = d.ticksBetweenMotes;
            this.burstCount         = d.burstCount;

            Util.AssignDefStat(d.soundDef, out this.soundDef);
            Util.AssignDefStat(d.moteDef, out this.moteDef);
        }
        public void ApplyStats(SubEffecterDef to)
        {
            to.ticksBeforeSustainerStart = this.ticksBeforeSustainerStart;
            to.intermittentSoundInterval = this.intermittentSoundInterval;
            to.airTime            = this.airTime;
            to.scale              = this.scale;
            to.rotationRate       = this.rotationRate;
            to.rotation           = this.rotation;
            to.speed              = this.speed;
            to.absoluteAngle      = this.absoluteAngle;
            to.angle              = this.angle;
            to.positionRadius     = this.positionRadius;
            to.positionLerpFactor = this.positionLerpFactor;
            to.spawnLocType       = this.spawnLocType;
            to.chancePerTick      = this.chancePerTick;
            to.ticksBetweenMotes  = this.ticksBetweenMotes;
            to.burstCount         = this.burstCount;

            Util.AssignDef(this.soundDef, out to.soundDef);
            Util.AssignDef(this.moteDef, out to.moteDef);
        }
Beispiel #3
0
 public SubEffecter(SubEffecterDef subDef, Effecter parent)
 {
     def         = subDef;
     this.parent = parent;
 }
Beispiel #4
0
 public SubEffecter_DrifterEmoteContinuous(SubEffecterDef def, Effecter parent)
     : base(def, parent)
 {
 }
 // Token: 0x0600208A RID: 8330 RVA: 0x0001347D File Offset: 0x0001167D
 public SubEffecterComp_Sustainer(SubEffecterDef def, Effecter parent) : base(def, parent)
 {
 }
 public WorldSubEffecter(SubEffecterDef subDef)
 {
     this.def = subDef;
 }
 public SubEffecter_SprayerTriggered(SubEffecterDef def)
     : base(def)
 {
 }
 public SubEffecter_SprayerTriggered(SubEffecterDef def, Effecter parent)
     : base(def, parent)
 {
 }
Beispiel #9
0
 public WorldSubEffecter_ProgressBar(SubEffecterDef def) : base(def)
 {
 }
 public SubEffecter_DrifterEmoteTriggered(SubEffecterDef def)
     : base(def)
 {
 }
Beispiel #11
0
 public SubEffecter_BookSymbol(SubEffecterDef def, Effecter parent) : base(def, parent)
 {
 }
 public SubEffecter_DrifterEmoteChance(SubEffecterDef def)
     : base(def)
 {
 }
Beispiel #13
0
 public SubEffecter_ProgressBar_Colored(SubEffecterDef def, Effecter parent)
     : base(def, parent)
 {
 }
Beispiel #14
0
 public SubEffecter_DrifterEmoteChance(SubEffecterDef def, Effecter parent)
     : base(def, parent)
 {
 }
Beispiel #15
0
 public SubEffecter_DrifterEmoteContinuous(SubEffecterDef def)
     : base(def)
 {
 }
 public RA_SubEffecter_ProgressBar(SubEffecterDef def)
     : base(def)
 {
 }
Beispiel #17
0
 public SubEffecter_SprayerContinuous(SubEffecterDef def, Effecter parent)
     : base(def, parent)
 {
 }
 public SubEffecter_DrifterEmoteTriggered(SubEffecterDef def, Effecter parent)
     : base(def, parent)
 {
 }
 // Token: 0x06002083 RID: 8323 RVA: 0x000C721D File Offset: 0x000C541D
 public SubEffecterComp_SprayerChance(SubEffecterDef def, Effecter parent) : base(def, parent)
 {
 }
 public SubEffecter_SprayerChance(SubEffecterDef def)
     : base(def)
 {
 }
Beispiel #21
0
 // Token: 0x06002074 RID: 8308 RVA: 0x000C6D64 File Offset: 0x000C4F64
 public SubEffecterComp(SubEffecterDef subDef, Effecter parent) : base(subDef, parent)
 {
     this.def    = subDef;
     this.parent = parent;
 }
 public SubEffecter_SprayerContinuous(SubEffecterDef def)
     : base(def)
 {
 }