// Token: 0x06000DD3 RID: 3539 RVA: 0x0003E0F0 File Offset: 0x0003C2F0
 public override void OnStartServer()
 {
     base.OnStartServer();
     LaserTurbineController.SpinChargeState networkspinChargeState = this.spinChargeState;
     networkspinChargeState.initialSpin  = this.minSpin;
     networkspinChargeState.snapshotTime = Run.FixedTimeStamp.now;
     this.NetworkspinChargeState         = networkspinChargeState;
 }
        // Token: 0x06000DDB RID: 3547 RVA: 0x0003E31C File Offset: 0x0003C51C
        private void OnOwnerKilledOtherServer()
        {
            Run.FixedTimeStamp now = Run.FixedTimeStamp.now;
            float num           = this.spinChargeState.CalcCurrentSpinValue(now, this.spinDecayRate, this.minSpin);
            float initialCharge = this.spinChargeState.CalcCurrentChargeValue(now, this.spinDecayRate, this.minSpin);

            num = Mathf.Min(num + this.spinPerKill, this.maxSpin);
            LaserTurbineController.SpinChargeState networkspinChargeState = new LaserTurbineController.SpinChargeState
            {
                initialSpin   = num,
                initialCharge = initialCharge,
                snapshotTime  = now
            };
            this.NetworkspinChargeState = networkspinChargeState;
        }
        public void ExpendCharge()
        {
            if (!NetworkServer.active)
            {
                Debug.LogWarning("[Server] function 'System.Void RoR2.LaserTurbineController::ExpendCharge()' called on client");
                return;
            }
            Run.FixedTimeStamp now = Run.FixedTimeStamp.now;
            float num = this.spinChargeState.CalcCurrentSpinValue(now, this.spinDecayRate, this.minSpin);

            num += this.spinPerKill;
            LaserTurbineController.SpinChargeState networkspinChargeState = new LaserTurbineController.SpinChargeState
            {
                initialSpin   = num,
                initialCharge = 0f,
                snapshotTime  = now
            };
            this.NetworkspinChargeState = networkspinChargeState;
        }