From c9d8b5574aa95a22ab36e4d6a217f2afc5c9b4fb Mon Sep 17 00:00:00 2001 From: bmgjet <50484759+bmgjet@users.noreply.github.com> Date: Sun, 7 Sep 2025 16:35:04 +1200 Subject: [PATCH] Add Mannequin Hooks For PVE Use private object CanMannequinChangePose(Mannequin mannequin, BasePlayer player) private object CanMannequinSwap(Mannequin mannequin, BasePlayer player) --- resources/Rust.opj | 50 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/resources/Rust.opj b/resources/Rust.opj index 713a99ed0..4005dbeeb 100644 --- a/resources/Rust.opj +++ b/resources/Rust.opj @@ -14348,6 +14348,56 @@ "HookCategory": "Entity" } }, + { + "Type": "Simple", + "Hook": { + "InjectionIndex": 12, + "ReturnBehavior": 4, + "ArgumentBehavior": 4, + "ArgumentString": "this, a0.player", + "HookTypeName": "Simple", + "Name": "CanMannequinChangePose", + "HookName": "CanMannequinChangePose", + "AssemblyName": "Assembly-CSharp.dll", + "TypeName": "Mannequin", + "Flagged": false, + "Signature": { + "Exposure": 0, + "Name": "Server_ChangePose", + "ReturnType": "System.Void", + "Parameters": [ + "BaseEntity/RPCMessage" + ] + }, + "MSILHash": "gtEjnM3uPUdyZL+KNDfOTpl3SaS/nVuhkGFb02WUlC0=", + "HookCategory": "Entity" + } + }, + { + "Type": "Simple", + "Hook": { + "InjectionIndex": 15, + "ReturnBehavior": 4, + "ArgumentBehavior": 4, + "ArgumentString": "this, l0", + "HookTypeName": "Simple", + "Name": "CanMannequinSwap", + "HookName": "CanMannequinSwap", + "AssemblyName": "Assembly-CSharp.dll", + "TypeName": "Mannequin", + "Flagged": false, + "Signature": { + "Exposure": 0, + "Name": "Server_RequestSwap", + "ReturnType": "System.Void", + "Parameters": [ + "BaseEntity/RPCMessage" + ] + }, + "MSILHash": "2YN4WVLyCuWNhdmrfCKRAgTZXCjtZcOs4Qz97mg7Ib8=", + "HookCategory": "Entity" + } + }, { "Type": "Simple", "Hook": {