Skip to content

Commit

Permalink
Add OnPatrolHelicopterKill hook
Browse files Browse the repository at this point in the history
object OnPatrolHelicopterKill(PatrolHelicopter heli, HitInfo hitInfo)
  • Loading branch information
Substrata1 authored and MrBlue committed Jan 29, 2024
1 parent ff9fab0 commit d2224ad
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions resources/Rust.opj
Original file line number Diff line number Diff line change
Expand Up @@ -19919,6 +19919,32 @@
"MSILHash": "WKcAMSehLVw6QkaTKXlvgDM+JjR6Zp5ipw/gwLIzYcc=",
"HookCategory": "Resource"
}
},
{
"Type": "Simple",
"Hook": {
"InjectionIndex": 15,
"ReturnBehavior": 1,
"ArgumentBehavior": 4,
"ArgumentString": "this, a0",
"HookTypeName": "Simple",
"Name": "OnPatrolHelicopterKill",
"HookName": "OnPatrolHelicopterKill",
"AssemblyName": "Assembly-CSharp.dll",
"TypeName": "PatrolHelicopter",
"Flagged": false,
"Signature": {
"Exposure": 2,
"Name": "Hurt",
"ReturnType": "System.Void",
"Parameters": [
"HitInfo"
]
},
"MSILHash": "eqmrk1cs/LjuiXQJ+nBw142N/5BaJ8i+unxJ7/AIP0M=",
"BaseHookName": "OnPatrolHelicopterTakeDamage",
"HookCategory": "Entity"
}
}
],
"Modifiers": [
Expand Down

0 comments on commit d2224ad

Please sign in to comment.