class
AIPatrolRole
- 5 properties
- 8 functions
Extends AIRole IScriptable ISerializable
Properties
| Property | Type | Offset | |
|---|---|---|---|
pathParams | AIPatrolPathParameters? | 0x0 | scripted |
alertedPathParams | AIPatrolPathParameters? | 0x10 | scripted |
alertedRadius | float | 0x20 | scripted |
alertedSpots | AIbehaviorWorkspotList? | 0x28 | scripted |
forceAlerted | bool | 0x38 | scripted |
Functions
AIPatrolPathParameters? GetPathParams()RTTIre.Hooks.Place( "AIPatrolRole", "GetPathParams;", (AIPatrolRole_GetPathParams x) => { return re.Hooks.CallOriginal<re.msgpack.AIPatrolPathParameters>(); } ); [Msgpack.Gen] public readonly partial record struct AIPatrolRole_GetPathParams( AIPatrolRole self );AIPatrolPathParameters? GetAlertedPathParams()RTTIre.Hooks.Place( "AIPatrolRole", "GetAlertedPathParams;", (AIPatrolRole_GetAlertedPathParams x) => { return re.Hooks.CallOriginal<re.msgpack.AIPatrolPathParameters>(); } ); [Msgpack.Gen] public readonly partial record struct AIPatrolRole_GetAlertedPathParams( AIPatrolRole self );float GetAlertedRadius()RTTIre.Hooks.Place( "AIPatrolRole", "GetAlertedRadius;", (AIPatrolRole_GetAlertedRadius x) => { return re.Hooks.CallOriginal<re.msgpack.Float>(); } ); [Msgpack.Gen] public readonly partial record struct AIPatrolRole_GetAlertedRadius( AIPatrolRole self );bool IsForceAlerted()RTTIre.Hooks.Place( "AIPatrolRole", "IsForceAlerted;", (AIPatrolRole_IsForceAlerted x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct AIPatrolRole_IsForceAlerted( AIPatrolRole self );AIbehaviorWorkspotList? GetAlertedSpots()RTTIre.Hooks.Place( "AIPatrolRole", "GetAlertedSpots;", (AIPatrolRole_GetAlertedSpots x) => { return re.Hooks.CallOriginal<re.msgpack.AIbehaviorWorkspotList>(); } ); [Msgpack.Gen] public readonly partial record struct AIPatrolRole_GetAlertedSpots( AIPatrolRole self );EAIRole GetRoleEnum()overrideRTTIre.Hooks.Place( "AIPatrolRole", "GetRoleEnum;", (AIPatrolRole_GetRoleEnum x) => { return re.Hooks.CallOriginal<re.msgpack.EAIRole>(); } ); [Msgpack.Gen] public readonly partial record struct AIPatrolRole_GetRoleEnum( AIPatrolRole self );TDBID GetTweakRecordId()overrideRTTIre.Hooks.Place( "AIPatrolRole", "GetTweakRecordId;", (AIPatrolRole_GetTweakRecordId x) => { return re.Hooks.CallOriginal<re.msgpack.TDBID>(); } ); [Msgpack.Gen] public readonly partial record struct AIPatrolRole_GetTweakRecordId( AIPatrolRole self );void OnRoleSet(WeakHandle<game.Object> owner)overrideRTTIre.Hooks.PlaceVoid( "AIPatrolRole", "OnRoleSet;GameObject", (AIPatrolRole_OnRoleSet x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct AIPatrolRole_OnRoleSet( AIPatrolRole self, WeakHandle<game.Object> owner );