Class
LegacyAIPath
: AIPath : AIBase : VersionedMonoBehaviour : MonoBehaviour : Behaviour : Component : Object : Object0x00x0198
Members 7
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x04 | forwardLook | float | Public | — | |
| 0x01 | closestOnPathCheck | bool | Public | — | |
| 0x016D | 0x03 | padding / unreflected | |||
| 0x04 | minMoveScale | float | 1 flags | — | |
| 0x04 | currentWaypointIndex | int | 1 flags | — | |
| 0x0C | lastFoundWaypointPosition | Vector3 | 1 flags | — | |
| 0x04 | lastFoundWaypointTime | float | 1 flags | — | |
| 0x0C | targetDirection | Vector3 | 1 flags | — | |
| 0x0194 | 0x04 | unreflected bytes to end of LegacyAIPath | |||
Inherited from AIPath 13
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x04 | maxAcceleration | float | Public | — | |
| 0x04 | rotationSpeed | float | Public | — | |
| 0x04 | slowdownDistance | float | Public | — | |
| 0x04 | pickNextWaypointDist | float | Public | — | |
| 0x04 | endReachedDistance | float | Public | — | |
| 0x01 | alwaysDrawGizmos | bool | Public | — | |
| 0x01 | slowWhenNotFacingTarget | bool | Public | — | |
| 0x0146 | 0x02 | padding / unreflected | |||
| 0x04 | whenCloseToDestination | CloseToDestinationMode | Public | — | |
| 0x01 | constrainInsideGraph | bool | Public | — | |
| 0x014D | 0x03 | padding / unreflected | |||
| 0x08 | path | Path | 1 flags | — | |
| 0x08 | interpolator | PathInterpolator | 1 flags | — | |
| 0x01 | <reachedEndOfPath>k__BackingField | bool | Private | — | |
| 0x08 | cachedNNConstraint | NNConstraint | PrivateStatic | — | |
Inherited from AIBase 39
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x04 | radius | float | Public | — | |
| 0x04 | height | float | Public | — | |
| 0x01 | canMove | bool | Public | — | |
| 0x0031 | 0x03 | padding / unreflected | |||
| 0x04 | maxSpeed | float | Public | — | |
| 0x0C | gravity | Vector3 | Public | — | |
| 0x04 | groundMask | LayerMask | Public | — | |
| 0x04 | centerOffsetCompatibility | float | Private | — | |
| 0x04 | repathRateCompatibility | float | Private | — | |
| 0x01 | canSearchCompability | bool | Private | — | |
| 0x0051 | 0x03 | padding / unreflected | |||
| 0x04 | orientation | OrientationMode | Public | — | |
| 0x01 | enableRotation | bool | Public | — | |
| 0x0059 | 0x03 | padding / unreflected | |||
| 0x0C | simulatedPosition | Vector3 | 1 flags | — | |
| 0x10 | simulatedRotation | Quaternion | 1 flags | — | |
| 0x0C | accumulatedMovementDelta | Vector3 | Private | — | |
| 0x08 | velocity2D | Vector2 | 1 flags | — | |
| 0x04 | verticalVelocity | float | 1 flags | — | |
| 0x08 | seeker | Seeker | 1 flags | — | |
| 0x08 | tr | Transform | 1 flags | — | |
| 0x08 | rigid | Rigidbody | 1 flags | — | |
| 0x08 | rigid2D | Rigidbody2D | 1 flags | — | |
| 0x08 | controller | CharacterController | 1 flags | — | |
| 0x08 | rvoController | RVOController | 1 flags | — | |
| 0x08 | movementPlane | IMovementPlane | Public | — | |
| 0x01 | updatePosition | bool | Public+1 flags | — | |
| 0x01 | updateRotation | bool | Public+1 flags | — | |
| 0x00CA | 0x06 | padding / unreflected | |||
| 0x08 | autoRepath | AutoRepathPolicy | Public | — | |
| 0x01 | <usingGravity>k__BackingField | bool | Private | — | |
| 0x00D9 | 0x03 | padding / unreflected | |||
| 0x04 | lastDeltaTime | float | 1 flags | — | |
| 0x04 | prevFrame | int | 1 flags | — | |
| 0x0C | prevPosition1 | Vector3 | 1 flags | — | |
| 0x0C | prevPosition2 | Vector3 | 1 flags | — | |
| 0x08 | lastDeltaPosition | Vector2 | 1 flags | — | |
| 0x01 | waitingForPathCalculation | bool | 1 flags | — | |
| 0x0105 | 0x03 | padding / unreflected | |||
| 0x08 | targetCompatibility | Transform | Private | — | |
| 0x01 | startHasRun | bool | Private | — | |
| 0x0111 | 0x03 | padding / unreflected | |||
| 0x0C | <destination>k__BackingField | Vector3 | Private | — | |
| 0x01 | <isStopped>k__BackingField | bool | Private | — | |
| 0x0121 | 0x07 | padding / unreflected | |||
| 0x08 | <onSearchPath>k__BackingField | Action | Private | — | |
| 0x10 | ShapeGizmoColor | Color | PublicStatic+1 flags | — | |
Inherited from VersionedMonoBehaviour 1
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x04 | version | int | Private | — |
Inherited from MonoBehaviour 1
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x08 | m_CancellationTokenSource | CancellationTokenSource | Private | — |
Inherited from Object 4
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x08 | m_CachedPtr | long | Private | — | |
| 0x04 | OffsetOfInstanceIDInCPlusPlusObject | int | Static+1 flags | — | |
| — | 0x08 | objectIsNullMessage | string | PrivateStatic+1 flags | — |
| — | 0x08 | cloneDestroyedMessage | string | PrivateStatic+1 flags | — |
Functions 8
| Signature | Flags | Native | Params |
|---|---|---|---|
| void Awake() | 2 flags | 0x00 | |
| void OnPathComplete(Path _p) | 2 flags | 0x08 | |
| void Update() | 2 flags | 0x00 | |
| float XZSqrMagnitude(const Vector3& a, const Vector3& b) | 1 flags | 0x0C | |
| Vector3 CalculateVelocity(const Vector3& currentPosition) | 1 flags | 0x0C | |
| void RotateTowards(const Vector3& dir) | 1 flags | 0x0C | |
| Vector3 CalculateTargetPoint(const Vector3& p, const Vector3& a, const Vector3& b) | 1 flags | 0x0C | |
| void .ctor() | Public+1 flags | 0x00 |