Skip to content

Commit 92dc912

Browse files
authored
Add Mannequin Hooks For PVE Use
private object CanMannequinChangePose(Mannequin mannequin, BasePlayer player) private object CanMannequinSwap(Mannequin mannequin, BasePlayer player)
1 parent 5d45ddc commit 92dc912

File tree

1 file changed

+51
-1
lines changed

1 file changed

+51
-1
lines changed

resources/Rust.opj

Lines changed: 51 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14348,6 +14348,56 @@
1434814348
"HookCategory": "Entity"
1434914349
}
1435014350
},
14351+
{
14352+
"Type": "Simple",
14353+
"Hook": {
14354+
"InjectionIndex": 12,
14355+
"ReturnBehavior": 4,
14356+
"ArgumentBehavior": 4,
14357+
"ArgumentString": "this,a0.player",
14358+
"HookTypeName": "Simple",
14359+
"Name": "CanMannequinChangePose",
14360+
"HookName": "CanMannequinChangePose",
14361+
"AssemblyName": "Assembly-CSharp.dll",
14362+
"TypeName": "Mannequin",
14363+
"Flagged": false,
14364+
"Signature": {
14365+
"Exposure": 0,
14366+
"Name": "Server_ChangePose",
14367+
"ReturnType": "System.Void",
14368+
"Parameters": [
14369+
"BaseEntity/RPCMessage"
14370+
]
14371+
},
14372+
"MSILHash": "gtEjnM3uPUdyZL+KNDfOTpl3SaS/nVuhkGFb02WUlC0=",
14373+
"HookCategory": "Entity"
14374+
}
14375+
},
14376+
{
14377+
"Type": "Simple",
14378+
"Hook": {
14379+
"InjectionIndex": 7,
14380+
"ReturnBehavior": 4,
14381+
"ArgumentBehavior": 4,
14382+
"ArgumentString": "this,l0",
14383+
"HookTypeName": "Simple",
14384+
"Name": "CanMannequinSwap",
14385+
"HookName": "CanMannequinSwap",
14386+
"AssemblyName": "Assembly-CSharp.dll",
14387+
"TypeName": "Mannequin",
14388+
"Flagged": false,
14389+
"Signature": {
14390+
"Exposure": 0,
14391+
"Name": "Server_RequestSwap",
14392+
"ReturnType": "System.Void",
14393+
"Parameters": [
14394+
"BaseEntity/RPCMessage"
14395+
]
14396+
},
14397+
"MSILHash": "2YN4WVLyCuWNhdmrfCKRAgTZXCjtZcOs4Qz97mg7Ib8=",
14398+
"HookCategory": "Entity"
14399+
}
14400+
},
1435114401
{
1435214402
"Type": "Simple",
1435314403
"Hook": {
@@ -53975,4 +54025,4 @@
5397554025
"Fields": []
5397654026
}
5397754027
]
53978-
}
54028+
}

0 commit comments

Comments
 (0)