class
NPCStatesComponent
- 23 properties
- 99 functions
Extends game.AINetStateComponent game.ScriptableComponent game.Component ent.IComponent IScriptable ISerializable
Properties
| Property | Type | Offset | |
|---|---|---|---|
aimingLookatEvent | ent.LookAtAddEvent? | 0x0 | scripted |
highLevelAnimFeatureName | CName | 0x10 | scripted |
upperBodyAnimFeatureName | CName | 0x18 | scripted |
stanceAnimFeatureName | CName | 0x20 | scripted |
statFlagDefensiveState | game.StatModifierData_Deprecated? | 0x28 | scripted |
prevNPCStanceState | game.data.NPCStanceState | 0x38 | scripted |
previousHighLevelState | game.data.NPCHighLevelState | 0x3C | scripted |
prevHitReactionMode | EHitReactionMode | 0x40 | scripted |
bulkyStaggerMinRecordID | TDBID | 0x44 | scripted |
staggerMinRecordID | TDBID | 0x4C | scripted |
unstoppableRecordID | TDBID | 0x54 | scripted |
unstoppableTwitchMinRecordID | TDBID | 0x5C | scripted |
unstoppableTwitchNoneRecordID | TDBID | 0x64 | scripted |
forceImpactRecordID | TDBID | 0x6C | scripted |
forceStaggerRecordID | TDBID | 0x74 | scripted |
forceKnockdownRecordID | TDBID | 0x7C | scripted |
fragileRecordID | TDBID | 0x84 | scripted |
weakRecordID | TDBID | 0x8C | scripted |
toughRecordID | TDBID | 0x94 | scripted |
bulkyRecordID | TDBID | 0x9C | scripted |
regularRecordID | TDBID | 0xA4 | scripted |
keepRecentThreatAfterRelaxedDuration | float | 0xAC | scripted |
inCombat | bool | 0xB0 | scripted |
Functions
void OnGameAttach()RTTIre.Hooks.PlaceVoid( "NPCStatesComponent", "OnGameAttach;", (NPCStatesComponent_OnGameAttach x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_OnGameAttach( NPCStatesComponent self );game.data.NPCHighLevelState GetCurrentHighLevelState()RTTIre.Hooks.Place( "NPCStatesComponent", "GetCurrentHighLevelState;", (NPCStatesComponent_GetCurrentHighLevelState x) => { return re.Hooks.CallOriginal<re.msgpack.game.data.NPCHighLevelState>(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_GetCurrentHighLevelState( NPCStatesComponent self );bool SetCurrentHighLevelState(game.data.NPCHighLevelState newState)RTTIre.Hooks.Place( "NPCStatesComponent", "SetCurrentHighLevelState;gamedataNPCHighLevelState", (NPCStatesComponent_SetCurrentHighLevelState x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_SetCurrentHighLevelState( NPCStatesComponent self, game.data.NPCHighLevelState newState );game.data.NPCHighLevelState GetPreviousHighLevelState()RTTIre.Hooks.Place( "NPCStatesComponent", "GetPreviousHighLevelState;", (NPCStatesComponent_GetPreviousHighLevelState x) => { return re.Hooks.CallOriginal<re.msgpack.game.data.NPCHighLevelState>(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_GetPreviousHighLevelState( NPCStatesComponent self );game.data.NPCUpperBodyState GetCurrentUpperBodyState()RTTIre.Hooks.Place( "NPCStatesComponent", "GetCurrentUpperBodyState;", (NPCStatesComponent_GetCurrentUpperBodyState x) => { return re.Hooks.CallOriginal<re.msgpack.game.data.NPCUpperBodyState>(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_GetCurrentUpperBodyState( NPCStatesComponent self );bool SetCurrentUpperBodyState(game.data.NPCUpperBodyState newState)RTTIre.Hooks.Place( "NPCStatesComponent", "SetCurrentUpperBodyState;gamedataNPCUpperBodyState", (NPCStatesComponent_SetCurrentUpperBodyState x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_SetCurrentUpperBodyState( NPCStatesComponent self, game.data.NPCUpperBodyState newState );game.data.DefenseMode GetCurrentDefenseMode()RTTIre.Hooks.Place( "NPCStatesComponent", "GetCurrentDefenseMode;", (NPCStatesComponent_GetCurrentDefenseMode x) => { return re.Hooks.CallOriginal<re.msgpack.game.data.DefenseMode>(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_GetCurrentDefenseMode( NPCStatesComponent self );bool SetCurrentDefenseMode(game.data.DefenseMode newState)RTTIre.Hooks.Place( "NPCStatesComponent", "SetCurrentDefenseMode;gamedataDefenseMode", (NPCStatesComponent_SetCurrentDefenseMode x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_SetCurrentDefenseMode( NPCStatesComponent self, game.data.DefenseMode newState );game.data.LocomotionMode GetCurrentLocomotionMode()RTTIre.Hooks.Place( "NPCStatesComponent", "GetCurrentLocomotionMode;", (NPCStatesComponent_GetCurrentLocomotionMode x) => { return re.Hooks.CallOriginal<re.msgpack.game.data.LocomotionMode>(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_GetCurrentLocomotionMode( NPCStatesComponent self );bool SetCurrentLocomotionMode(game.data.LocomotionMode newState)RTTIre.Hooks.Place( "NPCStatesComponent", "SetCurrentLocomotionMode;gamedataLocomotionMode", (NPCStatesComponent_SetCurrentLocomotionMode x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_SetCurrentLocomotionMode( NPCStatesComponent self, game.data.LocomotionMode newState );game.data.NPCStanceState GetCurrentStanceState()RTTIre.Hooks.Place( "NPCStatesComponent", "GetCurrentStanceState;", (NPCStatesComponent_GetCurrentStanceState x) => { return re.Hooks.CallOriginal<re.msgpack.game.data.NPCStanceState>(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_GetCurrentStanceState( NPCStatesComponent self );void SetPreviousStanceState(game.data.NPCStanceState prevState)RTTIre.Hooks.PlaceVoid( "NPCStatesComponent", "SetPreviousStanceState;gamedataNPCStanceState", (NPCStatesComponent_SetPreviousStanceState x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_SetPreviousStanceState( NPCStatesComponent self, game.data.NPCStanceState prevState );game.data.NPCStanceState GetPreviousStanceState()RTTIre.Hooks.Place( "NPCStatesComponent", "GetPreviousStanceState;", (NPCStatesComponent_GetPreviousStanceState x) => { return re.Hooks.CallOriginal<re.msgpack.game.data.NPCStanceState>(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_GetPreviousStanceState( NPCStatesComponent self );bool SetCurrentStanceState(game.data.NPCStanceState newState)RTTIre.Hooks.Place( "NPCStatesComponent", "SetCurrentStanceState;gamedataNPCStanceState", (NPCStatesComponent_SetCurrentStanceState x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_SetCurrentStanceState( NPCStatesComponent self, game.data.NPCStanceState newState );void SetPreviousHitReactionMode(EHitReactionMode prevState)RTTIre.Hooks.PlaceVoid( "NPCStatesComponent", "SetPreviousHitReactionMode;EHitReactionMode", (NPCStatesComponent_SetPreviousHitReactionMode x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_SetPreviousHitReactionMode( NPCStatesComponent self, EHitReactionMode prevState );EHitReactionMode GetPreviousHitReactionMode()RTTIre.Hooks.Place( "NPCStatesComponent", "GetPreviousHitReactionMode;", (NPCStatesComponent_GetPreviousHitReactionMode x) => { return re.Hooks.CallOriginal<re.msgpack.EHitReactionMode>(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_GetPreviousHitReactionMode( NPCStatesComponent self );EHitReactionMode GetCurrentHitReactionModeState()RTTIre.Hooks.Place( "NPCStatesComponent", "GetCurrentHitReactionModeState;", (NPCStatesComponent_GetCurrentHitReactionModeState x) => { return re.Hooks.CallOriginal<re.msgpack.EHitReactionMode>(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_GetCurrentHitReactionModeState( NPCStatesComponent self );bool SetCurrentHitReactionModeState(EHitReactionMode newState)RTTIre.Hooks.Place( "NPCStatesComponent", "SetCurrentHitReactionModeState;EHitReactionMode", (NPCStatesComponent_SetCurrentHitReactionModeState x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_SetCurrentHitReactionModeState( NPCStatesComponent self, EHitReactionMode newState );game.data.NPCBehaviorState GetCurrentBehaviorState()RTTIre.Hooks.Place( "NPCStatesComponent", "GetCurrentBehaviorState;", (NPCStatesComponent_GetCurrentBehaviorState x) => { return re.Hooks.CallOriginal<re.msgpack.game.data.NPCBehaviorState>(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_GetCurrentBehaviorState( NPCStatesComponent self );bool SetCurrentBehaviorState(game.data.NPCBehaviorState newState)RTTIre.Hooks.Place( "NPCStatesComponent", "SetCurrentBehaviorState;gamedataNPCBehaviorState", (NPCStatesComponent_SetCurrentBehaviorState x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_SetCurrentBehaviorState( NPCStatesComponent self, game.data.NPCBehaviorState newState );ENPCPhaseState GetCurrentPhaseState()RTTIre.Hooks.Place( "NPCStatesComponent", "GetCurrentPhaseState;", (NPCStatesComponent_GetCurrentPhaseState x) => { return re.Hooks.CallOriginal<re.msgpack.ENPCPhaseState>(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_GetCurrentPhaseState( NPCStatesComponent self );bool SetCurrentPhaseState(ENPCPhaseState newState)RTTIre.Hooks.Place( "NPCStatesComponent", "SetCurrentPhaseState;ENPCPhaseState", (NPCStatesComponent_SetCurrentPhaseState x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_SetCurrentPhaseState( NPCStatesComponent self, ENPCPhaseState newState );ScriptedPuppet? GetPuppet()RTTIre.Hooks.Place( "NPCStatesComponent", "GetPuppet;", (NPCStatesComponent_GetPuppet x) => { return re.Hooks.CallOriginal<re.msgpack.ScriptedPuppet>(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_GetPuppet( NPCStatesComponent self );game.IBlackboard? GetPuppetStateBlackboard()RTTIre.Hooks.Place( "NPCStatesComponent", "GetPuppetStateBlackboard;", (NPCStatesComponent_GetPuppetStateBlackboard x) => { return re.Hooks.CallOriginal<re.msgpack.game.IBlackboard>(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_GetPuppetStateBlackboard( NPCStatesComponent self );void OnNPCStateChangeSignalReceived(NPCStateChangeSignal signal)RTTIre.Hooks.PlaceVoid( "NPCStatesComponent", "OnNPCStateChangeSignalReceived;NPCStateChangeSignal", (NPCStatesComponent_OnNPCStateChangeSignalReceived x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_OnNPCStateChangeSignalReceived( NPCStatesComponent self, NPCStateChangeSignal? signal );void ChangeHighLevelState(game.data.NPCHighLevelState newState)RTTIre.Hooks.PlaceVoid( "NPCStatesComponent", "ChangeHighLevelState;gamedataNPCHighLevelState", (NPCStatesComponent_ChangeHighLevelState x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_ChangeHighLevelState( NPCStatesComponent self, game.data.NPCHighLevelState newState );void ChangeDefenseMode(game.data.DefenseMode newState)RTTIre.Hooks.PlaceVoid( "NPCStatesComponent", "ChangeDefenseMode;gamedataDefenseMode", (NPCStatesComponent_ChangeDefenseMode x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_ChangeDefenseMode( NPCStatesComponent self, game.data.DefenseMode newState );void ChangeLocomotionMode(game.data.LocomotionMode newState)RTTIre.Hooks.PlaceVoid( "NPCStatesComponent", "ChangeLocomotionMode;gamedataLocomotionMode", (NPCStatesComponent_ChangeLocomotionMode x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_ChangeLocomotionMode( NPCStatesComponent self, game.data.LocomotionMode newState );void ChangeUpperBodyState(game.data.NPCUpperBodyState newState)RTTIre.Hooks.PlaceVoid( "NPCStatesComponent", "ChangeUpperBodyState;gamedataNPCUpperBodyState", (NPCStatesComponent_ChangeUpperBodyState x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_ChangeUpperBodyState( NPCStatesComponent self, game.data.NPCUpperBodyState newState );void ChangeStanceState(game.data.NPCStanceState newState)RTTIre.Hooks.PlaceVoid( "NPCStatesComponent", "ChangeStanceState;gamedataNPCStanceState", (NPCStatesComponent_ChangeStanceState x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_ChangeStanceState( NPCStatesComponent self, game.data.NPCStanceState newState );void ChangeHitReactionModeState(EHitReactionMode newState)RTTIre.Hooks.PlaceVoid( "NPCStatesComponent", "ChangeHitReactionModeState;EHitReactionMode", (NPCStatesComponent_ChangeHitReactionModeState x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_ChangeHitReactionModeState( NPCStatesComponent self, EHitReactionMode newState );void ChangeBehaviorState(game.data.NPCBehaviorState newState)RTTIre.Hooks.PlaceVoid( "NPCStatesComponent", "ChangeBehaviorState;gamedataNPCBehaviorState", (NPCStatesComponent_ChangeBehaviorState x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_ChangeBehaviorState( NPCStatesComponent self, game.data.NPCBehaviorState newState );void ChangePhaseState(ENPCPhaseState newState)RTTIre.Hooks.PlaceVoid( "NPCStatesComponent", "ChangePhaseState;ENPCPhaseState", (NPCStatesComponent_ChangePhaseState x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_ChangePhaseState( NPCStatesComponent self, ENPCPhaseState newState );void MaxtacSetQuestCammo(game.data.NPCHighLevelState newState)RTTIre.Hooks.PlaceVoid( "NPCStatesComponent", "MaxtacSetQuestCammo;gamedataNPCHighLevelState", (NPCStatesComponent_MaxtacSetQuestCammo x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_MaxtacSetQuestCammo( NPCStatesComponent self, game.data.NPCHighLevelState newState );void UpdateHighLevelState(game.data.NPCHighLevelState newState, game.data.NPCHighLevelState previousState)RTTIre.Hooks.PlaceVoid( "NPCStatesComponent", "UpdateHighLevelState;gamedataNPCHighLevelStategamedataNPCHighLevelState", (NPCStatesComponent_UpdateHighLevelState x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_UpdateHighLevelState( NPCStatesComponent self, game.data.NPCHighLevelState newState, game.data.NPCHighLevelState previousState );void HandleCombatStateAnimHint(game.data.NPCHighLevelState newState, game.data.NPCHighLevelState previousState)RTTIre.Hooks.PlaceVoid( "NPCStatesComponent", "HandleCombatStateAnimHint;gamedataNPCHighLevelStategamedataNPCHighLevelState", (NPCStatesComponent_HandleCombatStateAnimHint x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_HandleCombatStateAnimHint( NPCStatesComponent self, game.data.NPCHighLevelState newState, game.data.NPCHighLevelState previousState );void OnHighLevelStateEnter(game.data.NPCHighLevelState newState, game.data.NPCHighLevelState previousState)RTTIre.Hooks.PlaceVoid( "NPCStatesComponent", "OnHighLevelStateEnter;gamedataNPCHighLevelStategamedataNPCHighLevelState", (NPCStatesComponent_OnHighLevelStateEnter x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_OnHighLevelStateEnter( NPCStatesComponent self, game.data.NPCHighLevelState newState, game.data.NPCHighLevelState previousState );void OnHighLevelStateExit(game.data.NPCHighLevelState leftState, game.data.NPCHighLevelState nextState)RTTIre.Hooks.PlaceVoid( "NPCStatesComponent", "OnHighLevelStateExit;gamedataNPCHighLevelStategamedataNPCHighLevelState", (NPCStatesComponent_OnHighLevelStateExit x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_OnHighLevelStateExit( NPCStatesComponent self, game.data.NPCHighLevelState leftState, game.data.NPCHighLevelState nextState );void OnRelaxed()RTTIre.Hooks.PlaceVoid( "NPCStatesComponent", "OnRelaxed;", (NPCStatesComponent_OnRelaxed x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_OnRelaxed( NPCStatesComponent self );void OnFear()RTTIre.Hooks.PlaceVoid( "NPCStatesComponent", "OnFear;", (NPCStatesComponent_OnFear x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_OnFear( NPCStatesComponent self );void OnAlerted()RTTIre.Hooks.PlaceVoid( "NPCStatesComponent", "OnAlerted;", (NPCStatesComponent_OnAlerted x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_OnAlerted( NPCStatesComponent self );void OnCombat()RTTIre.Hooks.PlaceVoid( "NPCStatesComponent", "OnCombat;", (NPCStatesComponent_OnCombat x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_OnCombat( NPCStatesComponent self );bool OnNotifyNearbyAboutCombatEvent(NotifyNearbyAboutCombatEvent evt)RTTIre.Hooks.Place( "NPCStatesComponent", "OnNotifyNearbyAboutCombatEvent", (NPCStatesComponent_OnNotifyNearbyAboutCombatEvent x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_OnNotifyNearbyAboutCombatEvent( NPCStatesComponent self, NotifyNearbyAboutCombatEvent? evt );void OnDead()RTTIre.Hooks.PlaceVoid( "NPCStatesComponent", "OnDead;", (NPCStatesComponent_OnDead x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_OnDead( NPCStatesComponent self );void PlayDeadVO()RTTIre.Hooks.PlaceVoid( "NPCStatesComponent", "PlayDeadVO;", (NPCStatesComponent_PlayDeadVO x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_PlayDeadVO( NPCStatesComponent self );bool OnNotifySecuritySystemCombatEvent(NotifySecuritySystemCombatEvent evt)RTTIre.Hooks.Place( "NPCStatesComponent", "OnNotifySecuritySystemCombatEvent", (NPCStatesComponent_OnNotifySecuritySystemCombatEvent x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_OnNotifySecuritySystemCombatEvent( NPCStatesComponent self, NotifySecuritySystemCombatEvent? evt );void NotifySecuritySystemCombat()RTTIre.Hooks.PlaceVoid( "NPCStatesComponent", "NotifySecuritySystemCombat;", (NPCStatesComponent_NotifySecuritySystemCombat x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_NotifySecuritySystemCombat( NPCStatesComponent self );void UpdateUpperBodyState()RTTIre.Hooks.PlaceVoid( "NPCStatesComponent", "UpdateUpperBodyState;", (NPCStatesComponent_UpdateUpperBodyState x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_UpdateUpperBodyState( NPCStatesComponent self );int GetUpperBodyStateForAnimGraph()RTTIre.Hooks.Place( "NPCStatesComponent", "GetUpperBodyStateForAnimGraph;", (NPCStatesComponent_GetUpperBodyStateForAnimGraph x) => { return re.Hooks.CallOriginal<re.msgpack.Int>(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_GetUpperBodyStateForAnimGraph( NPCStatesComponent self );void OnUpperBodyStateChanged()RTTIre.Hooks.PlaceVoid( "NPCStatesComponent", "OnUpperBodyStateChanged;", (NPCStatesComponent_OnUpperBodyStateChanged x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_OnUpperBodyStateChanged( NPCStatesComponent self );void OnNormal()RTTIre.Hooks.PlaceVoid( "NPCStatesComponent", "OnNormal;", (NPCStatesComponent_OnNormal x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_OnNormal( NPCStatesComponent self );void OnShoot()RTTIre.Hooks.PlaceVoid( "NPCStatesComponent", "OnShoot;", (NPCStatesComponent_OnShoot x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_OnShoot( NPCStatesComponent self );void OnReload()RTTIre.Hooks.PlaceVoid( "NPCStatesComponent", "OnReload;", (NPCStatesComponent_OnReload x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_OnReload( NPCStatesComponent self );void OnDefend()RTTIre.Hooks.PlaceVoid( "NPCStatesComponent", "OnDefend;", (NPCStatesComponent_OnDefend x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_OnDefend( NPCStatesComponent self );void OnParry()RTTIre.Hooks.PlaceVoid( "NPCStatesComponent", "OnParry;", (NPCStatesComponent_OnParry x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_OnParry( NPCStatesComponent self );void OnAttack()RTTIre.Hooks.PlaceVoid( "NPCStatesComponent", "OnAttack;", (NPCStatesComponent_OnAttack x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_OnAttack( NPCStatesComponent self );void OnChargeAttack()RTTIre.Hooks.PlaceVoid( "NPCStatesComponent", "OnChargeAttack;", (NPCStatesComponent_OnChargeAttack x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_OnChargeAttack( NPCStatesComponent self );void UpdateLocomotionMode()RTTIre.Hooks.PlaceVoid( "NPCStatesComponent", "UpdateLocomotionMode;", (NPCStatesComponent_UpdateLocomotionMode x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_UpdateLocomotionMode( NPCStatesComponent self );void OnLocomotionModeChanged()RTTIre.Hooks.PlaceVoid( "NPCStatesComponent", "OnLocomotionModeChanged;", (NPCStatesComponent_OnLocomotionModeChanged x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_OnLocomotionModeChanged( NPCStatesComponent self );void OnStatic()RTTIre.Hooks.PlaceVoid( "NPCStatesComponent", "OnStatic;", (NPCStatesComponent_OnStatic x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_OnStatic( NPCStatesComponent self );void OnMoving()RTTIre.Hooks.PlaceVoid( "NPCStatesComponent", "OnMoving;", (NPCStatesComponent_OnMoving x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_OnMoving( NPCStatesComponent self );void UpdateDefenseMode()RTTIre.Hooks.PlaceVoid( "NPCStatesComponent", "UpdateDefenseMode;", (NPCStatesComponent_UpdateDefenseMode x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_UpdateDefenseMode( NPCStatesComponent self );void OnDefenseModeChanged()RTTIre.Hooks.PlaceVoid( "NPCStatesComponent", "OnDefenseModeChanged;", (NPCStatesComponent_OnDefenseModeChanged x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_OnDefenseModeChanged( NPCStatesComponent self );void OnNoDefend()RTTIre.Hooks.PlaceVoid( "NPCStatesComponent", "OnNoDefend;", (NPCStatesComponent_OnNoDefend x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_OnNoDefend( NPCStatesComponent self );void OnDefendAll()RTTIre.Hooks.PlaceVoid( "NPCStatesComponent", "OnDefendAll;", (NPCStatesComponent_OnDefendAll x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_OnDefendAll( NPCStatesComponent self );void OnDefendMelee()RTTIre.Hooks.PlaceVoid( "NPCStatesComponent", "OnDefendMelee;", (NPCStatesComponent_OnDefendMelee x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_OnDefendMelee( NPCStatesComponent self );void OnDefendRanged()RTTIre.Hooks.PlaceVoid( "NPCStatesComponent", "OnDefendRanged;", (NPCStatesComponent_OnDefendRanged x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_OnDefendRanged( NPCStatesComponent self );void UpdateBehaviorState()RTTIre.Hooks.PlaceVoid( "NPCStatesComponent", "UpdateBehaviorState;", (NPCStatesComponent_UpdateBehaviorState x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_UpdateBehaviorState( NPCStatesComponent self );void UpdatePhaseState()RTTIre.Hooks.PlaceVoid( "NPCStatesComponent", "UpdatePhaseState;", (NPCStatesComponent_UpdatePhaseState x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_UpdatePhaseState( NPCStatesComponent self );void UpdateDefensiveState(bool enable)RTTIre.Hooks.PlaceVoid( "NPCStatesComponent", "UpdateDefensiveState;Bool", (NPCStatesComponent_UpdateDefensiveState x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_UpdateDefensiveState( NPCStatesComponent self, bool enable );void TurnOnParryState()RTTIre.Hooks.PlaceVoid( "NPCStatesComponent", "TurnOnParryState;", (NPCStatesComponent_TurnOnParryState x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_TurnOnParryState( NPCStatesComponent self );void TurnOffParryState()RTTIre.Hooks.PlaceVoid( "NPCStatesComponent", "TurnOffParryState;", (NPCStatesComponent_TurnOffParryState x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_TurnOffParryState( NPCStatesComponent self );void UpdateHitReactionsExceptionState()RTTIre.Hooks.PlaceVoid( "NPCStatesComponent", "UpdateHitReactionsExceptionState;", (NPCStatesComponent_UpdateHitReactionsExceptionState x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_UpdateHitReactionsExceptionState( NPCStatesComponent self );void SendOnUnstoppableRemovedSignal(bool b)RTTIre.Hooks.PlaceVoid( "NPCStatesComponent", "SendOnUnstoppableRemovedSignal;Bool", (NPCStatesComponent_SendOnUnstoppableRemovedSignal x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_SendOnUnstoppableRemovedSignal( NPCStatesComponent self, bool b );void OnRegular(game.StatsSystem statSystem, ent.EntityID entityID, TDBID recordID)RTTIre.Hooks.PlaceVoid( "NPCStatesComponent", "OnRegular;StatsSystemEntityIDTweakDBID", (NPCStatesComponent_OnRegular x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_OnRegular( NPCStatesComponent self, game.StatsSystem? statSystem, ent.EntityID entityID, TDBID recordID );void OnForceImpact(game.StatsSystem statSystem, ent.EntityID entityID, TDBID recordID)RTTIre.Hooks.PlaceVoid( "NPCStatesComponent", "OnForceImpact;StatsSystemEntityIDTweakDBID", (NPCStatesComponent_OnForceImpact x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_OnForceImpact( NPCStatesComponent self, game.StatsSystem? statSystem, ent.EntityID entityID, TDBID recordID );void OnForceStagger(game.StatsSystem statSystem, ent.EntityID entityID, TDBID recordID)RTTIre.Hooks.PlaceVoid( "NPCStatesComponent", "OnForceStagger;StatsSystemEntityIDTweakDBID", (NPCStatesComponent_OnForceStagger x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_OnForceStagger( NPCStatesComponent self, game.StatsSystem? statSystem, ent.EntityID entityID, TDBID recordID );void OnForceKnockdown(game.StatsSystem statSystem, ent.EntityID entityID, TDBID recordID)RTTIre.Hooks.PlaceVoid( "NPCStatesComponent", "OnForceKnockdown;StatsSystemEntityIDTweakDBID", (NPCStatesComponent_OnForceKnockdown x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_OnForceKnockdown( NPCStatesComponent self, game.StatsSystem? statSystem, ent.EntityID entityID, TDBID recordID );void OnFragile(game.StatsSystem statSystem, ent.EntityID entityID, TDBID recordID)RTTIre.Hooks.PlaceVoid( "NPCStatesComponent", "OnFragile;StatsSystemEntityIDTweakDBID", (NPCStatesComponent_OnFragile x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_OnFragile( NPCStatesComponent self, game.StatsSystem? statSystem, ent.EntityID entityID, TDBID recordID );void OnWeak(game.StatsSystem statSystem, ent.EntityID entityID, TDBID recordID)RTTIre.Hooks.PlaceVoid( "NPCStatesComponent", "OnWeak;StatsSystemEntityIDTweakDBID", (NPCStatesComponent_OnWeak x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_OnWeak( NPCStatesComponent self, game.StatsSystem? statSystem, ent.EntityID entityID, TDBID recordID );void OnTough(game.StatsSystem statSystem, ent.EntityID entityID, TDBID recordID)RTTIre.Hooks.PlaceVoid( "NPCStatesComponent", "OnTough;StatsSystemEntityIDTweakDBID", (NPCStatesComponent_OnTough x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_OnTough( NPCStatesComponent self, game.StatsSystem? statSystem, ent.EntityID entityID, TDBID recordID );void OnBulky(game.StatsSystem statSystem, ent.EntityID entityID, TDBID recordID)RTTIre.Hooks.PlaceVoid( "NPCStatesComponent", "OnBulky;StatsSystemEntityIDTweakDBID", (NPCStatesComponent_OnBulky x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_OnBulky( NPCStatesComponent self, game.StatsSystem? statSystem, ent.EntityID entityID, TDBID recordID );void OnUnstoppable(game.StatsSystem statSystem, ent.EntityID entityID, TDBID recordID)RTTIre.Hooks.PlaceVoid( "NPCStatesComponent", "OnUnstoppable;StatsSystemEntityIDTweakDBID", (NPCStatesComponent_OnUnstoppable x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_OnUnstoppable( NPCStatesComponent self, game.StatsSystem? statSystem, ent.EntityID entityID, TDBID recordID );void OnUnstoppableTwitchMin(game.StatsSystem statSystem, ent.EntityID entityID, TDBID recordID)RTTIre.Hooks.PlaceVoid( "NPCStatesComponent", "OnUnstoppableTwitchMin;StatsSystemEntityIDTweakDBID", (NPCStatesComponent_OnUnstoppableTwitchMin x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_OnUnstoppableTwitchMin( NPCStatesComponent self, game.StatsSystem? statSystem, ent.EntityID entityID, TDBID recordID );void OnUnstoppableTwitchNone(game.StatsSystem statSystem, ent.EntityID entityID, TDBID recordID)RTTIre.Hooks.PlaceVoid( "NPCStatesComponent", "OnUnstoppableTwitchNone;StatsSystemEntityIDTweakDBID", (NPCStatesComponent_OnUnstoppableTwitchNone x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_OnUnstoppableTwitchNone( NPCStatesComponent self, game.StatsSystem? statSystem, ent.EntityID entityID, TDBID recordID );void OnStaggerMin(game.StatsSystem statSystem, ent.EntityID entityID, TDBID recordID)RTTIre.Hooks.PlaceVoid( "NPCStatesComponent", "OnStaggerMin;StatsSystemEntityIDTweakDBID", (NPCStatesComponent_OnStaggerMin x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_OnStaggerMin( NPCStatesComponent self, game.StatsSystem? statSystem, ent.EntityID entityID, TDBID recordID );void OnBulkyStaggerMin(game.StatsSystem statSystem, ent.EntityID entityID, TDBID recordID)RTTIre.Hooks.PlaceVoid( "NPCStatesComponent", "OnBulkyStaggerMin;StatsSystemEntityIDTweakDBID", (NPCStatesComponent_OnBulkyStaggerMin x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_OnBulkyStaggerMin( NPCStatesComponent self, game.StatsSystem? statSystem, ent.EntityID entityID, TDBID recordID );void UpdateStanceState()RTTIre.Hooks.PlaceVoid( "NPCStatesComponent", "UpdateStanceState;", (NPCStatesComponent_UpdateStanceState x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_UpdateStanceState( NPCStatesComponent self );void OnStanceStateChanged()RTTIre.Hooks.PlaceVoid( "NPCStatesComponent", "OnStanceStateChanged;", (NPCStatesComponent_OnStanceStateChanged x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_OnStanceStateChanged( NPCStatesComponent self );void ToggleVehicleWindow(bool toggle)RTTIre.Hooks.PlaceVoid( "NPCStatesComponent", "ToggleVehicleWindow;Bool", (NPCStatesComponent_ToggleVehicleWindow x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_ToggleVehicleWindow( NPCStatesComponent self, bool toggle );void OnStand()RTTIre.Hooks.PlaceVoid( "NPCStatesComponent", "OnStand;", (NPCStatesComponent_OnStand x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_OnStand( NPCStatesComponent self );void OnCrouch()RTTIre.Hooks.PlaceVoid( "NPCStatesComponent", "OnCrouch;", (NPCStatesComponent_OnCrouch x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_OnCrouch( NPCStatesComponent self );void OnCover()RTTIre.Hooks.PlaceVoid( "NPCStatesComponent", "OnCover;", (NPCStatesComponent_OnCover x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_OnCover( NPCStatesComponent self );void OnSwim()RTTIre.Hooks.PlaceVoid( "NPCStatesComponent", "OnSwim;", (NPCStatesComponent_OnSwim x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_OnSwim( NPCStatesComponent self );void OnVehicle()RTTIre.Hooks.PlaceVoid( "NPCStatesComponent", "OnVehicle;", (NPCStatesComponent_OnVehicle x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_OnVehicle( NPCStatesComponent self );static CName GetAnimWrapperNameBasedOnHighLevelState(game.data.NPCHighLevelState highLevelState)staticRTTI globalre.Hooks.Place( "NPCStatesComponent", "NPCStatesComponent::GetAnimWrapperNameBasedOnHighLevelState;gamedataNPCHighLevelState", (NPCStatesComponent_GetAnimWrapperNameBasedOnHighLevelState x) => { return re.Hooks.CallOriginal<re.msgpack.CName>(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_GetAnimWrapperNameBasedOnHighLevelState( game.data.NPCHighLevelState highLevelState );static CName GetAnimWrapperNameBasedOnStanceState(game.data.NPCStanceState stanceState)staticRTTI globalre.Hooks.Place( "NPCStatesComponent", "NPCStatesComponent::GetAnimWrapperNameBasedOnStanceState;gamedataNPCStanceState", (NPCStatesComponent_GetAnimWrapperNameBasedOnStanceState x) => { return re.Hooks.CallOriginal<re.msgpack.CName>(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_GetAnimWrapperNameBasedOnStanceState( game.data.NPCStanceState stanceState );static WeakHandle<game.Object> GetCombatTarget(NPCPuppet npcPuppet)staticRTTI globalstatic bool AlertPuppet(WeakHandle<ScriptedPuppet> ownerPuppet)staticRTTI globalre.Hooks.Place( "NPCStatesComponent", "NPCStatesComponent::AlertPuppet;ScriptedPuppet", (NPCStatesComponent_AlertPuppet x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct NPCStatesComponent_AlertPuppet( WeakHandle<ScriptedPuppet> ownerPuppet );