Zdexby TheHolyOneZ
36,909 classes
Class

TurretController

: MonoBehaviour : Behaviour : Component : Object : Object
TurretController, Assembly-CSharp 0x0168 (360 B) inherited 0x0020 Assembly-CSharp.dll
0x00x0168

Members 67

OffsetSizeNameTypeFlagsDefault
0x08InstanceTurretControllerPublicStatic—
0x08turretBaseRectTransformPublic—
0x08turret3DMimicTurret3DMimicPublic—
0x08gunsList<GunController>Public—
0x04rotationSpeedfloatPublic—
0x04rotationAccelerationTimefloatPublic—
0x04startingRotationfloatPublic—
0x04minBarrelElevationfloatPublic—
0x04maxBarrelElevationfloatPublic—
0x04startingElevationfloatPublic—
0x04rotateLeftKeyKeyCodePublic—
0x04rotateRightKeyKeyCodePublic—
0x04increaseElevationKeyKeyCodePublic—
0x04decreaseElevationKeyKeyCodePublic—
0x04desiredRotationSpeedfloatPublic—
0x04desiredElevationChangeSpeedfloatPublic—
0x08rotationDialDialInteractablePublic—
0x04dialDegreesPerTurretDegreefloatPublic—
0x04turretRotationOffsetfloatPublic—
0x08elevationDialDialInteractablePublic—
0x04dialDegreesPerElevationDegreefloatPublic—
0x04elevationOffsetfloatPublic—
0x04compassBearingOffsetfloatPublic—
0x01invertCompassBearingboolPublic—
0x008D0x03padding / unreflected
0x08rotationSpeedDialDialInteractablePublic—
0x04maxManualRotationSpeedfloatPublic—
0x009C0x04padding / unreflected
0x08forceManualRotateLeftActionInputActionReferencePrivate—
0x08forceManualRotateRightActionInputActionReferencePrivate—
0x01debugForceActionsCancelOutboolPrivate—
0x00B10x07padding / unreflected
0x08elevationSpeedDialDialInteractablePublic—
0x04maxManualElevationSpeedfloatPublic—
0x04desiredRotationAccelerationTimefloatPublic—
0x04rotationSpeedSmoothingfloatPublic—
0x01backdriveRotationDialboolPublic—
0x00CD0x03padding / unreflected
0x04backdriveSourceBackdriveSourcePublic—
0x01backdriveUseDialSmoothingboolPublic—
0x01wrapBackdriveAngleboolPublic—
0x00D60x02padding / unreflected
0x04backdriveWrapDegreesfloatPublic—
0x01dragOverridesSpeedDialboolPublic—
0x01dragOverridesElevationSpeedDialboolPublic—
0x01driveGunElevationsFromControllerboolPublic—
0x00DF0x01padding / unreflected
0x04MovementSpeedfloatPublic—
0x0CMovementStartLocNullable<UnityEngine.Vector2>Public—
0x0CMovementTargetLocNullable<UnityEngine.Vector2>Public—
0x00FC0x04padding / unreflected
0x08CR_MovementCoroutinePrivate—
0x08OnRotationDragOverrideSpeedDialUnityEventPublic—
0x08OnElevationDragOverrideSpeedDialUnityEventPublic—
0x08OnTurretStartMoveUnityEventPublic—
0x08OnTurretFinishMoveUnityEventPublic—
0x04<DesiredRotation>k__BackingFieldfloatPrivate—
0x04<CurrentAngle>k__BackingFieldfloatPrivate—
0x04<DesiredElevation>k__BackingFieldfloatPrivate—
0x04rotationVelocityfloatPrivate—
0x04controlledGunIndexintPrivate—
0x04desiredRotationVelocityfloatPrivate—
0x04desiredRotationVelocityTargetfloatPrivate—
0x01isUsingSpeedDialboolPrivate—
0x01450x03padding / unreflected
0x04rotationDialBaseAnglefloatPrivate—
0x01rotationDialDragActiveboolPrivate—
0x01isUsingElevationSpeedDialboolPrivate—
0x014E0x02padding / unreflected
0x04elevationDialBaseAnglefloatPrivate—
0x01elevationDialDragActiveboolPrivate—
0x01550x03padding / unreflected
0x04lastAngleForSpeedfloatPrivate—
0x04observedRotationSpeedfloatPrivate—
0x01firstSpeedSampleboolPrivate—
0x01debugForceLeftHeldboolPrivate—
0x01debugForceRightHeldboolPrivate—
0x01630x05unreflected bytes to end of TurretController
Inherited from MonoBehaviour 1
OffsetSizeNameTypeFlagsDefault
0x08m_CancellationTokenSourceCancellationTokenSourcePrivate—
Inherited from Object 5
OffsetSizeNameTypeFlagsDefault
—0x04kInstanceID_NoneintPrivateStatic+1 flags8
0x08m_CachedPtrlongPrivate—
0x04OffsetOfInstanceIDInCPlusPlusObjectintStatic+2 flags—
—0x08objectIsNullMessagestringPrivateStatic+1 flags—
—0x08cloneDestroyedMessagestringPrivateStatic+1 flags—

Functions 48

SignatureFlagsNativeParams
bool get_IsMoving()Public+1 flags0x01
float get_DesiredRotation()Public+1 flags0x04
void set_DesiredRotation(float value)Private+1 flags0x04
float get_CurrentAngle()Public+1 flags0x04
void set_CurrentAngle(float value)Private+1 flags0x04
float get_DesiredElevation()Public+1 flags0x04
void set_DesiredElevation(float value)Private+1 flags0x04
float get_CurrentElevation()Public+1 flags0x04
float get_CurrentRotationSpeed()Public+1 flags0x04
float get_CommandedRotationSpeed()Public+1 flags0x04
float get_DesiredRotationCompass()Public+1 flags0x04
float get_CurrentAngleCompass()Public+1 flags0x04
void Start()Private0x00
void OnDestroy()Private0x00
void Update()Private0x00
void BindAndEnableDebugRotationActions()Private0x00
void UnbindAndDisableDebugRotationActions()Private0x00
void OnForceManualRotateLeftPerformed(const CallbackContext& ctx)Private0x10
void OnForceManualRotateLeftCanceled(const CallbackContext& ctx)Private0x10
void OnForceManualRotateRightPerformed(const CallbackContext& ctx)Private0x10
void OnForceManualRotateRightCanceled(const CallbackContext& ctx)Private0x10
void ApplyDebugForcedManualRotationSpeedToDial()Private0x00
void ApplyRotationToTransforms()Private0x00
void UpdateMeasuredRotationSpeed()Private0x00
float GetAverageCurrentElevation()Private0x04
void HandleInput()Private0x00
void UpdateDesiredRotationTargetDynamics()Private0x00
void OnBeginRotationDialDrag()Private0x00
void OnEndRotationDialDrag()Private0x00
void OnBeginElevationDialDrag()Private0x00
void OnEndElevationDialDrag()Private0x00
void UpdateRotationPhysics()Private0x00
void UpdateElevationForAllGuns()Private0x00
float MapDialToTurretRotation(float dialDegrees)Private0x04
float MapDialToElevation(float dialDegrees)Private0x04
float MapTurretToDialDegrees(float turretDegrees)Private0x04
float NormalizeCompassBearing(float angle)Private0x04
void BackdriveRotationDial()Private0x00
float WrapAngle(float angleDeg, float modulo)PrivateStatic0x04
void FireControlledGun()Public0x00
void FireGunByIndex(int gunIndex)Public0x04
void SetPowderChargeForAllGuns(int chargeLevel)Public0x04
void SetTurretLocation(const Vector3& worldPos)Public0x0C
void MoveTurret(const Vector3& worldPos)Public0x0C
void StopTurretMovement()Public0x00
IEnumerator Internal_MoveTurret(const Vector3& worldPos)Public0x0C
void ResetTurretRotation()Public0x00
void .ctor()Public+1 flags0x00

Used by 16

types with a member, parameter or interface of this type