0x00x0168
Members 67
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x08 | Instance | TurretController | PublicStatic | — | |
| 0x08 | turretBase | RectTransform | Public | — | |
| 0x08 | turret3DMimic | Turret3DMimic | Public | — | |
| 0x08 | guns | List<GunController> | Public | — | |
| 0x04 | rotationSpeed | float | Public | — | |
| 0x04 | rotationAccelerationTime | float | Public | — | |
| 0x04 | startingRotation | float | Public | — | |
| 0x04 | minBarrelElevation | float | Public | — | |
| 0x04 | maxBarrelElevation | float | Public | — | |
| 0x04 | startingElevation | float | Public | — | |
| 0x04 | rotateLeftKey | KeyCode | Public | — | |
| 0x04 | rotateRightKey | KeyCode | Public | — | |
| 0x04 | increaseElevationKey | KeyCode | Public | — | |
| 0x04 | decreaseElevationKey | KeyCode | Public | — | |
| 0x04 | desiredRotationSpeed | float | Public | — | |
| 0x04 | desiredElevationChangeSpeed | float | Public | — | |
| 0x08 | rotationDial | DialInteractable | Public | — | |
| 0x04 | dialDegreesPerTurretDegree | float | Public | — | |
| 0x04 | turretRotationOffset | float | Public | — | |
| 0x08 | elevationDial | DialInteractable | Public | — | |
| 0x04 | dialDegreesPerElevationDegree | float | Public | — | |
| 0x04 | elevationOffset | float | Public | — | |
| 0x04 | compassBearingOffset | float | Public | — | |
| 0x01 | invertCompassBearing | bool | Public | — | |
| 0x008D | 0x03 | padding / unreflected | |||
| 0x08 | rotationSpeedDial | DialInteractable | Public | — | |
| 0x04 | maxManualRotationSpeed | float | Public | — | |
| 0x009C | 0x04 | padding / unreflected | |||
| 0x08 | forceManualRotateLeftAction | InputActionReference | Private | — | |
| 0x08 | forceManualRotateRightAction | InputActionReference | Private | — | |
| 0x01 | debugForceActionsCancelOut | bool | Private | — | |
| 0x00B1 | 0x07 | padding / unreflected | |||
| 0x08 | elevationSpeedDial | DialInteractable | Public | — | |
| 0x04 | maxManualElevationSpeed | float | Public | — | |
| 0x04 | desiredRotationAccelerationTime | float | Public | — | |
| 0x04 | rotationSpeedSmoothing | float | Public | — | |
| 0x01 | backdriveRotationDial | bool | Public | — | |
| 0x00CD | 0x03 | padding / unreflected | |||
| 0x04 | backdriveSource | BackdriveSource | Public | — | |
| 0x01 | backdriveUseDialSmoothing | bool | Public | — | |
| 0x01 | wrapBackdriveAngle | bool | Public | — | |
| 0x00D6 | 0x02 | padding / unreflected | |||
| 0x04 | backdriveWrapDegrees | float | Public | — | |
| 0x01 | dragOverridesSpeedDial | bool | Public | — | |
| 0x01 | dragOverridesElevationSpeedDial | bool | Public | — | |
| 0x01 | driveGunElevationsFromController | bool | Public | — | |
| 0x00DF | 0x01 | padding / unreflected | |||
| 0x04 | MovementSpeed | float | Public | — | |
| 0x0C | MovementStartLoc | Nullable<UnityEngine.Vector2> | Public | — | |
| 0x0C | MovementTargetLoc | Nullable<UnityEngine.Vector2> | Public | — | |
| 0x00FC | 0x04 | padding / unreflected | |||
| 0x08 | CR_Movement | Coroutine | Private | — | |
| 0x08 | OnRotationDragOverrideSpeedDial | UnityEvent | Public | — | |
| 0x08 | OnElevationDragOverrideSpeedDial | UnityEvent | Public | — | |
| 0x08 | OnTurretStartMove | UnityEvent | Public | — | |
| 0x08 | OnTurretFinishMove | UnityEvent | Public | — | |
| 0x04 | <DesiredRotation>k__BackingField | float | Private | — | |
| 0x04 | <CurrentAngle>k__BackingField | float | Private | — | |
| 0x04 | <DesiredElevation>k__BackingField | float | Private | — | |
| 0x04 | rotationVelocity | float | Private | — | |
| 0x04 | controlledGunIndex | int | Private | — | |
| 0x04 | desiredRotationVelocity | float | Private | — | |
| 0x04 | desiredRotationVelocityTarget | float | Private | — | |
| 0x01 | isUsingSpeedDial | bool | Private | — | |
| 0x0145 | 0x03 | padding / unreflected | |||
| 0x04 | rotationDialBaseAngle | float | Private | — | |
| 0x01 | rotationDialDragActive | bool | Private | — | |
| 0x01 | isUsingElevationSpeedDial | bool | Private | — | |
| 0x014E | 0x02 | padding / unreflected | |||
| 0x04 | elevationDialBaseAngle | float | Private | — | |
| 0x01 | elevationDialDragActive | bool | Private | — | |
| 0x0155 | 0x03 | padding / unreflected | |||
| 0x04 | lastAngleForSpeed | float | Private | — | |
| 0x04 | observedRotationSpeed | float | Private | — | |
| 0x01 | firstSpeedSample | bool | Private | — | |
| 0x01 | debugForceLeftHeld | bool | Private | — | |
| 0x01 | debugForceRightHeld | bool | Private | — | |
| 0x0163 | 0x05 | unreflected bytes to end of TurretController | |||
Inherited from MonoBehaviour 1
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x08 | m_CancellationTokenSource | CancellationTokenSource | Private | — |
Inherited from Object 5
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| — | 0x04 | kInstanceID_None | int | PrivateStatic+1 flags | 8 |
| 0x08 | m_CachedPtr | long | Private | — | |
| 0x04 | OffsetOfInstanceIDInCPlusPlusObject | int | Static+2 flags | — | |
| — | 0x08 | objectIsNullMessage | string | PrivateStatic+1 flags | — |
| — | 0x08 | cloneDestroyedMessage | string | PrivateStatic+1 flags | — |
Functions 48
| Signature | Flags | Native | Params |
|---|---|---|---|
| bool get_IsMoving() | Public+1 flags | 0x01 | |
| float get_DesiredRotation() | Public+1 flags | 0x04 | |
| void set_DesiredRotation(float value) | Private+1 flags | 0x04 | |
| float get_CurrentAngle() | Public+1 flags | 0x04 | |
| void set_CurrentAngle(float value) | Private+1 flags | 0x04 | |
| float get_DesiredElevation() | Public+1 flags | 0x04 | |
| void set_DesiredElevation(float value) | Private+1 flags | 0x04 | |
| float get_CurrentElevation() | Public+1 flags | 0x04 | |
| float get_CurrentRotationSpeed() | Public+1 flags | 0x04 | |
| float get_CommandedRotationSpeed() | Public+1 flags | 0x04 | |
| float get_DesiredRotationCompass() | Public+1 flags | 0x04 | |
| float get_CurrentAngleCompass() | Public+1 flags | 0x04 | |
| void Start() | Private | 0x00 | |
| void OnDestroy() | Private | 0x00 | |
| void Update() | Private | 0x00 | |
| void BindAndEnableDebugRotationActions() | Private | 0x00 | |
| void UnbindAndDisableDebugRotationActions() | Private | 0x00 | |
| void OnForceManualRotateLeftPerformed(const CallbackContext& ctx) | Private | 0x10 | |
| void OnForceManualRotateLeftCanceled(const CallbackContext& ctx) | Private | 0x10 | |
| void OnForceManualRotateRightPerformed(const CallbackContext& ctx) | Private | 0x10 | |
| void OnForceManualRotateRightCanceled(const CallbackContext& ctx) | Private | 0x10 | |
| void ApplyDebugForcedManualRotationSpeedToDial() | Private | 0x00 | |
| void ApplyRotationToTransforms() | Private | 0x00 | |
| void UpdateMeasuredRotationSpeed() | Private | 0x00 | |
| float GetAverageCurrentElevation() | Private | 0x04 | |
| void HandleInput() | Private | 0x00 | |
| void UpdateDesiredRotationTargetDynamics() | Private | 0x00 | |
| void OnBeginRotationDialDrag() | Private | 0x00 | |
| void OnEndRotationDialDrag() | Private | 0x00 | |
| void OnBeginElevationDialDrag() | Private | 0x00 | |
| void OnEndElevationDialDrag() | Private | 0x00 | |
| void UpdateRotationPhysics() | Private | 0x00 | |
| void UpdateElevationForAllGuns() | Private | 0x00 | |
| float MapDialToTurretRotation(float dialDegrees) | Private | 0x04 | |
| float MapDialToElevation(float dialDegrees) | Private | 0x04 | |
| float MapTurretToDialDegrees(float turretDegrees) | Private | 0x04 | |
| float NormalizeCompassBearing(float angle) | Private | 0x04 | |
| void BackdriveRotationDial() | Private | 0x00 | |
| float WrapAngle(float angleDeg, float modulo) | PrivateStatic | 0x04 | |
| void FireControlledGun() | Public | 0x00 | |
| void FireGunByIndex(int gunIndex) | Public | 0x04 | |
| void SetPowderChargeForAllGuns(int chargeLevel) | Public | 0x04 | |
| void SetTurretLocation(const Vector3& worldPos) | Public | 0x0C | |
| void MoveTurret(const Vector3& worldPos) | Public | 0x0C | |
| void StopTurretMovement() | Public | 0x00 | |
| IEnumerator Internal_MoveTurret(const Vector3& worldPos) | Public | 0x0C | |
| void ResetTurretRotation() | Public | 0x00 | |
| void .ctor() | Public+1 flags | 0x00 |
Used by 16
types with a member, parameter or interface of this type<Internal_MoveTurret>d__122<StateCheck>d__8FloatValueProvider_CurrentAngleFloatValueProvider_CurrentElevationFloatValueProvider_CurrentRotationSpeedFloatValueProvider_DesiredElevationFloatValueProvider_DesiredRotationFloatValueProvider_RotationErrorDegGunControllerGunElevationDialBindingGunElevationSliderBindingImpactMarkerManagerTurret3DMimicTurretAngularAccelerationToSwingForceBridgeTurretMovementLegStepperBridgeTurretRotationFollowerRigidbody