Skip to content

Commit

Permalink
Add OnCrateLaptopAttack hook
Browse files Browse the repository at this point in the history
- OnCrateLaptopAttack(HackableLockedCrate, HitInfo)
  • Loading branch information
appendixis authored and MrBlue committed Apr 2, 2024
1 parent 2b5fd3a commit 54471cd
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions resources/Rust.opj
Original file line number Diff line number Diff line change
Expand Up @@ -20435,6 +20435,31 @@
"BaseHookName": "OnAIBrainStateSwitch",
"HookCategory": "NPC"
}
},
{
"Type": "Simple",
"Hook": {
"InjectionIndex": 9,
"ReturnBehavior": 1,
"ArgumentBehavior": 4,
"ArgumentString": "this, a0",
"HookTypeName": "Simple",
"Name": "OnCrateLaptopAttack",
"HookName": "OnCrateLaptopAttack",
"AssemblyName": "Assembly-CSharp.dll",
"TypeName": "HackableLockedCrate",
"Flagged": false,
"Signature": {
"Exposure": 2,
"Name": "OnAttacked",
"ReturnType": "System.Void",
"Parameters": [
"HitInfo"
]
},
"MSILHash": "+/sLy4QRladVS1YSd5e4/fjVg5VG+tMbVPnhNw1FdiY=",
"HookCategory": "Entity"
}
}
],
"Modifiers": [
Expand Down

0 comments on commit 54471cd

Please sign in to comment.