class
CarriedObjectEvents
- 9 properties
- 36 functions
- 8 derived classes
Extends CarriedObjectTransition DefaultTransition game.stateMachine.Functor IScriptable ISerializable
Derived
AimEvents, CarryEvents, DisposeEvents, DropEvents, ForceDropBodyEvents, PickUpEvents, ReleaseEvents, ThrowEvents
Properties
| Property | Type | Offset | |
|---|---|---|---|
animFeature | AnimFeature_Mounting? | 0x0 | scripted |
animCarryFeature | AnimFeature_Carry? | 0x10 | scripted |
leftHandFeature | AnimFeature_LeftHandAnimation? | 0x20 | scripted |
AnimWrapperWeightSetterStrong | ent.AnimWrapperWeightSetter? | 0x30 | scripted |
AnimWrapperWeightSetterFriendly | ent.AnimWrapperWeightSetter? | 0x40 | scripted |
styleName | CName | 0x50 | scripted |
forceStyleName | CName | 0x58 | scripted |
isFriendlyCarry | bool | 0x60 | scripted |
forcedCarryStyle | game.PSMBodyCarryingStyle | 0x61 | scripted |
Functions
void OnEnter(game.stateMachine.StateContextScript stateContext, game.stateMachine.GameScriptInterface scriptInterface)RTTIre.Hooks.PlaceVoid( "CarriedObjectEvents", "OnEnter;StateContextStateGameScriptInterface", (CarriedObjectEvents_OnEnter x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CarriedObjectEvents_OnEnter( CarriedObjectEvents self, game.stateMachine.StateContextScript? stateContext, game.stateMachine.GameScriptInterface? scriptInterface );void OnExit(game.stateMachine.StateContextScript stateContext, game.stateMachine.GameScriptInterface scriptInterface)RTTIre.Hooks.PlaceVoid( "CarriedObjectEvents", "OnExit;StateContextStateGameScriptInterface", (CarriedObjectEvents_OnExit x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CarriedObjectEvents_OnExit( CarriedObjectEvents self, game.stateMachine.StateContextScript? stateContext, game.stateMachine.GameScriptInterface? scriptInterface );void OnForcedExit(game.stateMachine.StateContextScript stateContext, game.stateMachine.GameScriptInterface scriptInterface)RTTIre.Hooks.PlaceVoid( "CarriedObjectEvents", "OnForcedExit;StateContextStateGameScriptInterface", (CarriedObjectEvents_OnForcedExit x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CarriedObjectEvents_OnForcedExit( CarriedObjectEvents self, game.stateMachine.StateContextScript? stateContext, game.stateMachine.GameScriptInterface? scriptInterface );bool IsBodyDisposalOngoing(game.stateMachine.StateContextScript stateContext, game.stateMachine.GameScriptInterface scriptInterface)RTTIre.Hooks.Place( "CarriedObjectEvents", "IsBodyDisposalOngoing;StateContextStateGameScriptInterface", (CarriedObjectEvents_IsBodyDisposalOngoing x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct CarriedObjectEvents_IsBodyDisposalOngoing( CarriedObjectEvents self, game.stateMachine.StateContextScript? stateContext, game.stateMachine.GameScriptInterface? scriptInterface );void UpdateCarryStylePickUpAndDropParams(game.stateMachine.StateContextScript stateContext, game.stateMachine.GameScriptInterface scriptInterface, bool isFriendly)RTTIre.Hooks.PlaceVoid( "CarriedObjectEvents", "UpdateCarryStylePickUpAndDropParams;StateContextStateGameScriptInterfaceBool", (CarriedObjectEvents_UpdateCarryStylePickUpAndDropParams x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CarriedObjectEvents_UpdateCarryStylePickUpAndDropParams( CarriedObjectEvents self, game.stateMachine.StateContextScript? stateContext, game.stateMachine.GameScriptInterface? scriptInterface, bool isFriendly );void SetAnimFeature_Carry(ECarryState state, bool instant, game.stateMachine.StateContextScript stateContext, game.stateMachine.GameScriptInterface scriptInterface, bool? setExecutionOwnerOnly)RTTIre.Hooks.PlaceVoid( "CarriedObjectEvents", "SetAnimFeature_Carry;ECarryStateBoolStateContextStateGameScriptInterfaceBool", (CarriedObjectEvents_SetAnimFeature_Carry x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CarriedObjectEvents_SetAnimFeature_Carry( CarriedObjectEvents self, ECarryState state, bool instant, game.stateMachine.StateContextScript? stateContext, game.stateMachine.GameScriptInterface? scriptInterface, bool? setExecutionOwnerOnly );void SetBodyPickUpCameraContext(game.stateMachine.StateContextScript stateContext, game.stateMachine.GameScriptInterface scriptInterface, bool value, bool? skipCameraContextUpdate)RTTIre.Hooks.PlaceVoid( "CarriedObjectEvents", "SetBodyPickUpCameraContext;StateContextStateGameScriptInterfaceBoolBool", (CarriedObjectEvents_SetBodyPickUpCameraContext x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CarriedObjectEvents_SetBodyPickUpCameraContext( CarriedObjectEvents self, game.stateMachine.StateContextScript? stateContext, game.stateMachine.GameScriptInterface? scriptInterface, bool value, bool? skipCameraContextUpdate );void SetBodyCarryCameraContext(game.stateMachine.StateContextScript stateContext, game.stateMachine.GameScriptInterface scriptInterface, bool value, bool? skipCameraContextUpdate)RTTIre.Hooks.PlaceVoid( "CarriedObjectEvents", "SetBodyCarryCameraContext;StateContextStateGameScriptInterfaceBoolBool", (CarriedObjectEvents_SetBodyCarryCameraContext x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CarriedObjectEvents_SetBodyCarryCameraContext( CarriedObjectEvents self, game.stateMachine.StateContextScript? stateContext, game.stateMachine.GameScriptInterface? scriptInterface, bool value, bool? skipCameraContextUpdate );void SetBodyCarryFriendlyCameraContext(game.stateMachine.StateContextScript stateContext, game.stateMachine.GameScriptInterface scriptInterface, bool value, bool? skipCameraContextUpdate)RTTIre.Hooks.PlaceVoid( "CarriedObjectEvents", "SetBodyCarryFriendlyCameraContext;StateContextStateGameScriptInterfaceBoolBool", (CarriedObjectEvents_SetBodyCarryFriendlyCameraContext x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CarriedObjectEvents_SetBodyCarryFriendlyCameraContext( CarriedObjectEvents self, game.stateMachine.StateContextScript? stateContext, game.stateMachine.GameScriptInterface? scriptInterface, bool value, bool? skipCameraContextUpdate );void SetBodyCarryWoundedSoldierCameraContext(game.stateMachine.StateContextScript stateContext, game.stateMachine.GameScriptInterface scriptInterface, bool value, bool? skipCameraContextUpdate)RTTIre.Hooks.PlaceVoid( "CarriedObjectEvents", "SetBodyCarryWoundedSoldierCameraContext;StateContextStateGameScriptInterfaceBoolBool", (CarriedObjectEvents_SetBodyCarryWoundedSoldierCameraContext x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CarriedObjectEvents_SetBodyCarryWoundedSoldierCameraContext( CarriedObjectEvents self, game.stateMachine.StateContextScript? stateContext, game.stateMachine.GameScriptInterface? scriptInterface, bool value, bool? skipCameraContextUpdate );void SetCameraContext(game.stateMachine.StateContextScript stateContext, game.stateMachine.GameScriptInterface scriptInterface, CName varName, bool value, bool skipCameraContextUpdate)RTTIre.Hooks.PlaceVoid( "CarriedObjectEvents", "SetCameraContext;StateContextStateGameScriptInterfaceCNameBoolBool", (CarriedObjectEvents_SetCameraContext x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CarriedObjectEvents_SetCameraContext( CarriedObjectEvents self, game.stateMachine.StateContextScript? stateContext, game.stateMachine.GameScriptInterface? scriptInterface, CName varName, bool value, bool skipCameraContextUpdate );void SetStyle(game.PSMBodyCarryingStyle style, game.stateMachine.StateContextScript stateContext, game.stateMachine.GameScriptInterface scriptInterface)RTTIre.Hooks.PlaceVoid( "CarriedObjectEvents", "SetStyle;gamePSMBodyCarryingStyleStateContextStateGameScriptInterface", (CarriedObjectEvents_SetStyle x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CarriedObjectEvents_SetStyle( CarriedObjectEvents self, game.PSMBodyCarryingStyle style, game.stateMachine.StateContextScript? stateContext, game.stateMachine.GameScriptInterface? scriptInterface );void SetForcedStyle(game.PSMBodyCarryingStyle style, game.stateMachine.StateContextScript stateContext, game.stateMachine.GameScriptInterface scriptInterface)RTTIre.Hooks.PlaceVoid( "CarriedObjectEvents", "SetForcedStyle;gamePSMBodyCarryingStyleStateContextStateGameScriptInterface", (CarriedObjectEvents_SetForcedStyle x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CarriedObjectEvents_SetForcedStyle( CarriedObjectEvents self, game.PSMBodyCarryingStyle style, game.stateMachine.StateContextScript? stateContext, game.stateMachine.GameScriptInterface? scriptInterface );void ClearForcedStyle(game.stateMachine.StateContextScript stateContext)RTTIre.Hooks.PlaceVoid( "CarriedObjectEvents", "ClearForcedStyle;StateContext", (CarriedObjectEvents_ClearForcedStyle x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CarriedObjectEvents_ClearForcedStyle( CarriedObjectEvents self, game.stateMachine.StateContextScript? stateContext );void ClearStyleParameters(game.stateMachine.StateContextScript stateContext)RTTIre.Hooks.PlaceVoid( "CarriedObjectEvents", "ClearStyleParameters;StateContext", (CarriedObjectEvents_ClearStyleParameters x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CarriedObjectEvents_ClearStyleParameters( CarriedObjectEvents self, game.stateMachine.StateContextScript? stateContext );void SetAnimFeature_LeftHandAnimation(game.stateMachine.GameScriptInterface scriptInterface, bool lockLeftHand)RTTIre.Hooks.PlaceVoid( "CarriedObjectEvents", "SetAnimFeature_LeftHandAnimation;StateGameScriptInterfaceBool", (CarriedObjectEvents_SetAnimFeature_LeftHandAnimation x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CarriedObjectEvents_SetAnimFeature_LeftHandAnimation( CarriedObjectEvents self, game.stateMachine.GameScriptInterface? scriptInterface, bool lockLeftHand );game.PSMBodyCarryingStyle GetStyle(game.stateMachine.StateContextScript stateContext)RTTIre.Hooks.Place( "CarriedObjectEvents", "GetStyle;StateContext", (CarriedObjectEvents_GetStyle x) => { return re.Hooks.CallOriginal<re.msgpack.game.PSMBodyCarryingStyle>(); } ); [Msgpack.Gen] public readonly partial record struct CarriedObjectEvents_GetStyle( CarriedObjectEvents self, game.stateMachine.StateContextScript? stateContext );void EnableAnimSet(bool enable, CName animSet, game.stateMachine.GameScriptInterface scriptInterface)RTTIre.Hooks.PlaceVoid( "CarriedObjectEvents", "EnableAnimSet;BoolCNameStateGameScriptInterface", (CarriedObjectEvents_EnableAnimSet x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CarriedObjectEvents_EnableAnimSet( CarriedObjectEvents self, bool enable, CName animSet, game.stateMachine.GameScriptInterface? scriptInterface );void SetObjectInvulnerable(game.Object objectt, bool enable)RTTIre.Hooks.PlaceVoid( "CarriedObjectEvents", "SetObjectInvulnerable;GameObjectBool", (CarriedObjectEvents_SetObjectInvulnerable x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CarriedObjectEvents_SetObjectInvulnerable( CarriedObjectEvents self, game.Object? objectt, bool enable );void CleanUpCarryStateMachine(ECarryState state, game.stateMachine.StateContextScript stateContext, game.stateMachine.GameScriptInterface scriptInterface)RTTIre.Hooks.PlaceVoid( "CarriedObjectEvents", "CleanUpCarryStateMachine;ECarryStateStateContextStateGameScriptInterface", (CarriedObjectEvents_CleanUpCarryStateMachine x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CarriedObjectEvents_CleanUpCarryStateMachine( CarriedObjectEvents self, ECarryState state, game.stateMachine.StateContextScript? stateContext, game.stateMachine.GameScriptInterface? scriptInterface );void ResetMountingAnimFeature(game.stateMachine.StateContextScript stateContext, game.stateMachine.GameScriptInterface scriptInterface)RTTIre.Hooks.PlaceVoid( "CarriedObjectEvents", "ResetMountingAnimFeature;StateContextStateGameScriptInterface", (CarriedObjectEvents_ResetMountingAnimFeature x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CarriedObjectEvents_ResetMountingAnimFeature( CarriedObjectEvents self, game.stateMachine.StateContextScript? stateContext, game.stateMachine.GameScriptInterface? scriptInterface );void ApplyInitGameplayRestrictions(game.stateMachine.GameScriptInterface scriptInterface)RTTIre.Hooks.PlaceVoid( "CarriedObjectEvents", "ApplyInitGameplayRestrictions;StateGameScriptInterface", (CarriedObjectEvents_ApplyInitGameplayRestrictions x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CarriedObjectEvents_ApplyInitGameplayRestrictions( CarriedObjectEvents self, game.stateMachine.GameScriptInterface? scriptInterface );void EvaluateAutomaticLootPickupFromMountedPuppet(game.stateMachine.GameScriptInterface scriptInterface)RTTIre.Hooks.PlaceVoid( "CarriedObjectEvents", "EvaluateAutomaticLootPickupFromMountedPuppet;StateGameScriptInterface", (CarriedObjectEvents_EvaluateAutomaticLootPickupFromMountedPuppet x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CarriedObjectEvents_EvaluateAutomaticLootPickupFromMountedPuppet( CarriedObjectEvents self, game.stateMachine.GameScriptInterface? scriptInterface );void ApplyFriendlyCarryGameplayRestrictions(game.stateMachine.StateContextScript stateContext, game.stateMachine.GameScriptInterface scriptInterface)RTTIre.Hooks.PlaceVoid( "CarriedObjectEvents", "ApplyFriendlyCarryGameplayRestrictions;StateContextStateGameScriptInterface", (CarriedObjectEvents_ApplyFriendlyCarryGameplayRestrictions x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CarriedObjectEvents_ApplyFriendlyCarryGameplayRestrictions( CarriedObjectEvents self, game.stateMachine.StateContextScript? stateContext, game.stateMachine.GameScriptInterface? scriptInterface );void ApplyWoundedSoldierCarryGameplayRestrictions(game.stateMachine.StateContextScript stateContext, game.stateMachine.GameScriptInterface scriptInterface)RTTIre.Hooks.PlaceVoid( "CarriedObjectEvents", "ApplyWoundedSoldierCarryGameplayRestrictions;StateContextStateGameScriptInterface", (CarriedObjectEvents_ApplyWoundedSoldierCarryGameplayRestrictions x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CarriedObjectEvents_ApplyWoundedSoldierCarryGameplayRestrictions( CarriedObjectEvents self, game.stateMachine.StateContextScript? stateContext, game.stateMachine.GameScriptInterface? scriptInterface );void UpdateGameplayRestrictions(game.stateMachine.StateContextScript stateContext, game.stateMachine.GameScriptInterface scriptInterface)RTTIre.Hooks.PlaceVoid( "CarriedObjectEvents", "UpdateGameplayRestrictions;StateContextStateGameScriptInterface", (CarriedObjectEvents_UpdateGameplayRestrictions x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CarriedObjectEvents_UpdateGameplayRestrictions( CarriedObjectEvents self, game.stateMachine.StateContextScript? stateContext, game.stateMachine.GameScriptInterface? scriptInterface );void RemoveGameplayRestrictions(game.stateMachine.StateContextScript stateContext, game.stateMachine.GameScriptInterface scriptInterface)RTTIre.Hooks.PlaceVoid( "CarriedObjectEvents", "RemoveGameplayRestrictions;StateContextStateGameScriptInterface", (CarriedObjectEvents_RemoveGameplayRestrictions x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CarriedObjectEvents_RemoveGameplayRestrictions( CarriedObjectEvents self, game.stateMachine.StateContextScript? stateContext, game.stateMachine.GameScriptInterface? scriptInterface );void DisableAndResetRagdoll(game.stateMachine.StateContextScript stateContext, game.stateMachine.GameScriptInterface scriptInterface)RTTIre.Hooks.PlaceVoid( "CarriedObjectEvents", "DisableAndResetRagdoll;StateContextStateGameScriptInterface", (CarriedObjectEvents_DisableAndResetRagdoll x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CarriedObjectEvents_DisableAndResetRagdoll( CarriedObjectEvents self, game.stateMachine.StateContextScript? stateContext, game.stateMachine.GameScriptInterface? scriptInterface );void EvaluateWeaponUnequipping(game.stateMachine.StateContextScript stateContext, game.stateMachine.GameScriptInterface scriptInterface)RTTIre.Hooks.PlaceVoid( "CarriedObjectEvents", "EvaluateWeaponUnequipping;StateContextStateGameScriptInterface", (CarriedObjectEvents_EvaluateWeaponUnequipping x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CarriedObjectEvents_EvaluateWeaponUnequipping( CarriedObjectEvents self, game.stateMachine.StateContextScript? stateContext, game.stateMachine.GameScriptInterface? scriptInterface );void EnableRagdoll(game.stateMachine.StateContextScript stateContext, game.stateMachine.GameScriptInterface scriptInterface)RTTIre.Hooks.PlaceVoid( "CarriedObjectEvents", "EnableRagdoll;StateContextStateGameScriptInterface", (CarriedObjectEvents_EnableRagdoll x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CarriedObjectEvents_EnableRagdoll( CarriedObjectEvents self, game.stateMachine.StateContextScript? stateContext, game.stateMachine.GameScriptInterface? scriptInterface );void EnableRagdollUncontrolledMovement(game.stateMachine.StateContextScript stateContext, game.stateMachine.GameScriptInterface scriptInterface)RTTIre.Hooks.PlaceVoid( "CarriedObjectEvents", "EnableRagdollUncontrolledMovement;StateContextStateGameScriptInterface", (CarriedObjectEvents_EnableRagdollUncontrolledMovement x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CarriedObjectEvents_EnableRagdollUncontrolledMovement( CarriedObjectEvents self, game.stateMachine.StateContextScript? stateContext, game.stateMachine.GameScriptInterface? scriptInterface );void SetPickupAnimationParameter(game.stateMachine.StateContextScript stateContext, int pickupAnimation)RTTIre.Hooks.PlaceVoid( "CarriedObjectEvents", "SetPickupAnimationParameter;StateContextInt32", (CarriedObjectEvents_SetPickupAnimationParameter x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CarriedObjectEvents_SetPickupAnimationParameter( CarriedObjectEvents self, game.stateMachine.StateContextScript? stateContext, int pickupAnimation );int GetPickupAnimationParameter(game.stateMachine.StateContextScript stateContext)RTTIre.Hooks.Place( "CarriedObjectEvents", "GetPickupAnimationParameter;StateContext", (CarriedObjectEvents_GetPickupAnimationParameter x) => { return re.Hooks.CallOriginal<re.msgpack.Int>(); } ); [Msgpack.Gen] public readonly partial record struct CarriedObjectEvents_GetPickupAnimationParameter( CarriedObjectEvents self, game.stateMachine.StateContextScript? stateContext );void SetWasThrownParameter(game.stateMachine.StateContextScript stateContext, bool wasThrown)RTTIre.Hooks.PlaceVoid( "CarriedObjectEvents", "SetWasThrownParameter;StateContextBool", (CarriedObjectEvents_SetWasThrownParameter x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CarriedObjectEvents_SetWasThrownParameter( CarriedObjectEvents self, game.stateMachine.StateContextScript? stateContext, bool wasThrown );bool GetWasThrownParameter(game.stateMachine.StateContextScript stateContext)RTTIre.Hooks.Place( "CarriedObjectEvents", "GetWasThrownParameter;StateContext", (CarriedObjectEvents_GetWasThrownParameter x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct CarriedObjectEvents_GetWasThrownParameter( CarriedObjectEvents self, game.stateMachine.StateContextScript? stateContext );void CalculateForcedCarryStyleAndIsFriendlyCarry(game.stateMachine.StateContextScript stateContext, game.stateMachine.GameScriptInterface scriptInterface)RTTIre.Hooks.PlaceVoid( "CarriedObjectEvents", "CalculateForcedCarryStyleAndIsFriendlyCarry;StateContextStateGameScriptInterface", (CarriedObjectEvents_CalculateForcedCarryStyleAndIsFriendlyCarry x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct CarriedObjectEvents_CalculateForcedCarryStyleAndIsFriendlyCarry( CarriedObjectEvents self, game.stateMachine.StateContextScript? stateContext, game.stateMachine.GameScriptInterface? scriptInterface );