Skip to content

Commit 54471cd

Browse files
appendixisMrBlue
authored andcommitted
Add OnCrateLaptopAttack hook
- OnCrateLaptopAttack(HackableLockedCrate, HitInfo)
1 parent 2b5fd3a commit 54471cd

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

resources/Rust.opj

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20435,6 +20435,31 @@
2043520435
"BaseHookName": "OnAIBrainStateSwitch",
2043620436
"HookCategory": "NPC"
2043720437
}
20438+
},
20439+
{
20440+
"Type": "Simple",
20441+
"Hook": {
20442+
"InjectionIndex": 9,
20443+
"ReturnBehavior": 1,
20444+
"ArgumentBehavior": 4,
20445+
"ArgumentString": "this, a0",
20446+
"HookTypeName": "Simple",
20447+
"Name": "OnCrateLaptopAttack",
20448+
"HookName": "OnCrateLaptopAttack",
20449+
"AssemblyName": "Assembly-CSharp.dll",
20450+
"TypeName": "HackableLockedCrate",
20451+
"Flagged": false,
20452+
"Signature": {
20453+
"Exposure": 2,
20454+
"Name": "OnAttacked",
20455+
"ReturnType": "System.Void",
20456+
"Parameters": [
20457+
"HitInfo"
20458+
]
20459+
},
20460+
"MSILHash": "+/sLy4QRladVS1YSd5e4/fjVg5VG+tMbVPnhNw1FdiY=",
20461+
"HookCategory": "Entity"
20462+
}
2043820463
}
2043920464
],
2044020465
"Modifiers": [

0 commit comments

Comments
 (0)