Esempio n. 1
0
 // Token: 0x06000421 RID: 1057 RVA: 0x000112FC File Offset: 0x0000F4FC
 public override void FixedUpdate()
 {
     base.FixedUpdate();
     if (base.fixedAge >= this.duration && base.isAuthority)
     {
         FireRHCannon nextState = new FireRHCannon();
         this.outer.SetNextState(nextState);
         return;
     }
 }
Esempio n. 2
0
 // Token: 0x06002AE2 RID: 10978 RVA: 0x000B4824 File Offset: 0x000B2A24
 public override void FixedUpdate()
 {
     base.FixedUpdate();
     if (base.isAuthority)
     {
         if (this.bulletCountCurrent == FireRHCannon.bulletCount && base.fixedAge >= this.duration)
         {
             this.outer.SetNextStateToMain();
             return;
         }
         if (this.bulletCountCurrent < FireRHCannon.bulletCount && base.fixedAge >= this.durationBetweenShots)
         {
             FireRHCannon fireRHCannon = new FireRHCannon();
             fireRHCannon.bulletCountCurrent = this.bulletCountCurrent + 1;
             this.outer.SetNextState(fireRHCannon);
             return;
         }
     }
 }