Skip to content

Commit 686e5e6

Browse files
committed
Add CanRagdollDismount & OnCatapultFireForce hooks
- CanRagdollDismount(BaseRagdoll, BasePlayer) - OnCatapultFireForce(Catapult, BasePlayer, float)
1 parent b40d24e commit 686e5e6

1 file changed

Lines changed: 52 additions & 0 deletions

File tree

resources/Rust.opj

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9254,6 +9254,58 @@
92549254
"HookCategory": "Vehicle"
92559255
}
92569256
},
9257+
{
9258+
"Type": "Simple",
9259+
"Hook": {
9260+
"InjectionIndex": 0,
9261+
"ReturnBehavior": 1,
9262+
"ArgumentBehavior": 4,
9263+
"ArgumentString": "this,a0",
9264+
"HookTypeName": "Simple",
9265+
"Name": "CanRagdollDismount",
9266+
"HookName": "CanRagdollDismount",
9267+
"AssemblyName": "Assembly-CSharp.dll",
9268+
"TypeName": "BaseRagdoll",
9269+
"Flagged": false,
9270+
"Signature": {
9271+
"Exposure": 2,
9272+
"Name": "AllowPlayerInstigatedDismount",
9273+
"ReturnType": "System.Boolean",
9274+
"Parameters": [
9275+
"BasePlayer"
9276+
]
9277+
},
9278+
"MSILHash": "RQzLETIQY8oCXnENh9Yiq2D0HFlL85DvhJ8pbAWKDf4=",
9279+
"HookCategory": "Vehicle"
9280+
}
9281+
},
9282+
{
9283+
"Type": "Simple",
9284+
"Hook": {
9285+
"InjectionIndex": 23,
9286+
"ReturnBehavior": 3,
9287+
"ArgumentBehavior": 4,
9288+
"ArgumentString": "this,a0,l1 => l1",
9289+
"HookTypeName": "Simple",
9290+
"Name": "OnCatapultFireForce",
9291+
"HookName": "OnCatapultFireForce",
9292+
"HookDescription": "Called before a catapult is fired, returning a float changes the force of the shot.",
9293+
"AssemblyName": "Assembly-CSharp.dll",
9294+
"TypeName": "Catapult",
9295+
"Flagged": false,
9296+
"Signature": {
9297+
"Exposure": 2,
9298+
"Name": "Fire",
9299+
"ReturnType": "System.Boolean",
9300+
"Parameters": [
9301+
"BasePlayer",
9302+
"System.Single"
9303+
]
9304+
},
9305+
"MSILHash": "kCdfjEngZ1Gtb5+SYiH6uD5CHaTqq2b0e1dtymUKHfU=",
9306+
"HookCategory": "Vehicle"
9307+
}
9308+
},
92579309
{
92589310
"Type": "Simple",
92599311
"Hook": {

0 commit comments

Comments
 (0)