Skip to content

Commit d804109

Browse files
committed
Add OnNpcTarget hook
1 parent f23b2a2 commit d804109

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
@@ -21235,6 +21235,31 @@
2123521235
"BaseHookName": "OnRfListenerRemoved",
2123621236
"HookCategory": "Radio"
2123721237
}
21238+
},
21239+
{
21240+
"Type": "Simple",
21241+
"Hook": {
21242+
"InjectionIndex": 15,
21243+
"ReturnBehavior": 4,
21244+
"ArgumentBehavior": 4,
21245+
"ArgumentString": "this.GetBaseEntity(), a0",
21246+
"HookTypeName": "Simple",
21247+
"Name": "OnNpcTarget [SenseComponent]",
21248+
"HookName": "OnNpcTarget",
21249+
"AssemblyName": "Assembly-CSharp.dll",
21250+
"TypeName": "Rust.Ai.Gen2.SenseComponent",
21251+
"Flagged": false,
21252+
"Signature": {
21253+
"Exposure": 2,
21254+
"Name": "CanTarget",
21255+
"ReturnType": "System.Boolean",
21256+
"Parameters": [
21257+
"BaseEntity"
21258+
]
21259+
},
21260+
"MSILHash": "1IFiFqiPi/UAOwFf2XHRsTyhryQEa4oAooUITmm0s6k=",
21261+
"HookCategory": "NPC"
21262+
}
2123821263
}
2123921264
],
2124021265
"Modifiers": [

0 commit comments

Comments
 (0)