// Token: 0x06001F15 RID: 7957 RVA: 0x00096248 File Offset: 0x00094448 public override void Update() { base.FireHandler.Update(); if (this._scopeOpen) { if (!LevelCamera.IsZoomedIn || this._zoom != 0f) { WeaponInputHandler.ZoomIn(this._zoomInfo, this._weaponLogic.Decorator, this._zoom, true); this._zoom = 0f; global::EventHandler.Global.Fire(new GameEvents.PlayerZoomIn()); GameState.Current.PlayerData.IsZoomedIn.Value = true; } } else if (LevelCamera.IsZoomedIn) { WeaponInputHandler.ZoomOut(this._zoomInfo, this._weaponLogic.Decorator); GameState.Current.PlayerData.IsZoomedIn.Value = false; } }
// Token: 0x06001F02 RID: 7938 RVA: 0x00095F00 File Offset: 0x00094100 public override void Update() { base.FireHandler.Update(); this.UpdateIronsight(); if (this._isIronsight) { if (!LevelCamera.IsZoomedIn) { WeaponInputHandler.ZoomIn(this._zoomInfo, this._weaponLogic.Decorator, 0f, false); } } else if (LevelCamera.IsZoomedIn) { WeaponInputHandler.ZoomOut(this._zoomInfo, this._weaponLogic.Decorator); } if (!this._isIronsight && this._ironSightDelay > 0f) { this._ironSightDelay -= Time.deltaTime; } }