class
PlayerGameplayRestrictions
- 0 properties
- 12 functions
Extends IScriptable ISerializable
Properties
None.
Functions
static void RequestMeleeWeapon(WeakHandle<PlayerPuppet> player, game.EquipAnimationType animType)staticRTTI globalre.Hooks.PlaceVoid( "PlayerGameplayRestrictions", "PlayerGameplayRestrictions::RequestMeleeWeapon;PlayerPuppetgameEquipAnimationType", (PlayerGameplayRestrictions_RequestMeleeWeapon x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct PlayerGameplayRestrictions_RequestMeleeWeapon( WeakHandle<PlayerPuppet> player, game.EquipAnimationType animType );static void PushForceRefreshInputHintsEventToPSM(game.Object requester)staticRTTI globalre.Hooks.PlaceVoid( "PlayerGameplayRestrictions", "PlayerGameplayRestrictions::PushForceRefreshInputHintsEventToPSM;GameObject", (PlayerGameplayRestrictions_PushForceRefreshInputHintsEventToPSM x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct PlayerGameplayRestrictions_PushForceRefreshInputHintsEventToPSM( game.Object? requester );static void RequestLastUsedWeapon(WeakHandle<PlayerPuppet> player, game.EquipAnimationType animType)staticRTTI globalre.Hooks.PlaceVoid( "PlayerGameplayRestrictions", "PlayerGameplayRestrictions::RequestLastUsedWeapon;PlayerPuppetgameEquipAnimationType", (PlayerGameplayRestrictions_RequestLastUsedWeapon x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct PlayerGameplayRestrictions_RequestLastUsedWeapon( WeakHandle<PlayerPuppet> player, game.EquipAnimationType animType );static bool AcquireHotkeyRestrictionTags(game.EHotkey hotkey, CName[] hotkeyTags)staticRTTI globalre.Hooks.Place( "PlayerGameplayRestrictions", "PlayerGameplayRestrictions::AcquireHotkeyRestrictionTags;EHotkeyscript_ref<array<CName>>", (PlayerGameplayRestrictions_AcquireHotkeyRestrictionTags x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct PlayerGameplayRestrictions_AcquireHotkeyRestrictionTags( game.EHotkey hotkey, CName[] hotkeyTags );static bool IsHotkeyRestricted(ScriptGameInstance game, game.EHotkey hotkey)staticRTTI globalre.Hooks.Place( "PlayerGameplayRestrictions", "PlayerGameplayRestrictions::IsHotkeyRestricted;GameInstanceEHotkey", (PlayerGameplayRestrictions_IsHotkeyRestricted x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct PlayerGameplayRestrictions_IsHotkeyRestricted( ScriptGameInstance game, game.EHotkey hotkey );static void OnGameplayRestrictionAdded(WeakHandle<PlayerPuppet> player, game.data.StatusEffect_Record record, CName[] gameplayTags)staticRTTI globalre.Hooks.PlaceVoid( "PlayerGameplayRestrictions", "PlayerGameplayRestrictions::OnGameplayRestrictionAdded;PlayerPuppetStatusEffect_Recordscript_ref<array<CName>>", (PlayerGameplayRestrictions_OnGameplayRestrictionAdded x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct PlayerGameplayRestrictions_OnGameplayRestrictionAdded( WeakHandle<PlayerPuppet> player, game.data.StatusEffect_Record? record, CName[] gameplayTags );static void RemoveAllGameplayRestrictions(WeakHandle<game.Object> target)staticRTTI globalre.Hooks.PlaceVoid( "PlayerGameplayRestrictions", "PlayerGameplayRestrictions::RemoveAllGameplayRestrictions;GameObject", (PlayerGameplayRestrictions_RemoveAllGameplayRestrictions x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct PlayerGameplayRestrictions_RemoveAllGameplayRestrictions( WeakHandle<game.Object> target );static void ChangeFastTravelSystemState(bool enable, CName reason, WeakHandle<PlayerPuppet> player, TDBID statusEffectID)staticRTTI globalre.Hooks.PlaceVoid( "PlayerGameplayRestrictions", "PlayerGameplayRestrictions::ChangeFastTravelSystemState;BoolCNamePlayerPuppetTweakDBID", (PlayerGameplayRestrictions_ChangeFastTravelSystemState x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct PlayerGameplayRestrictions_ChangeFastTravelSystemState( bool enable, CName reason, WeakHandle<PlayerPuppet> player, TDBID statusEffectID );static void RequestFists(WeakHandle<PlayerPuppet> player, game.EquipAnimationType animType)staticRTTI globalre.Hooks.PlaceVoid( "PlayerGameplayRestrictions", "PlayerGameplayRestrictions::RequestFists;PlayerPuppetgameEquipAnimationType", (PlayerGameplayRestrictions_RequestFists x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct PlayerGameplayRestrictions_RequestFists( WeakHandle<PlayerPuppet> player, game.EquipAnimationType animType );static CName GetMenuEventName(bool blockMenu, EMenuType menuType)staticRTTI globalre.Hooks.Place( "PlayerGameplayRestrictions", "PlayerGameplayRestrictions::GetMenuEventName;BoolEMenuType", (PlayerGameplayRestrictions_GetMenuEventName x) => { return re.Hooks.CallOriginal<re.msgpack.CName>(); } ); [Msgpack.Gen] public readonly partial record struct PlayerGameplayRestrictions_GetMenuEventName( bool blockMenu, EMenuType menuType );static void SendBlockMenuRequest(WeakHandle<PlayerPuppet> player, bool blockMenu, EMenuType menuType)staticRTTI globalre.Hooks.PlaceVoid( "PlayerGameplayRestrictions", "PlayerGameplayRestrictions::SendBlockMenuRequest;PlayerPuppetBoolEMenuType", (PlayerGameplayRestrictions_SendBlockMenuRequest x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct PlayerGameplayRestrictions_SendBlockMenuRequest( WeakHandle<PlayerPuppet> player, bool blockMenu, EMenuType menuType );static void OnGameplayRestrictionRemoved(WeakHandle<PlayerPuppet> player, game.events.RemoveStatusEffect evt, CName[] gameplayTags)staticRTTI globalre.Hooks.PlaceVoid( "PlayerGameplayRestrictions", "PlayerGameplayRestrictions::OnGameplayRestrictionRemoved;PlayerPuppetRemoveStatusEffectscript_ref<array<CName>>", (PlayerGameplayRestrictions_OnGameplayRestrictionRemoved x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct PlayerGameplayRestrictions_OnGameplayRestrictionRemoved( WeakHandle<PlayerPuppet> player, game.events.RemoveStatusEffect? evt, CName[] gameplayTags );