Skip to content

Commit

Permalink
Add CanItemBeRecycled hook
Browse files Browse the repository at this point in the history
- bool CanBeRecycled(Item item, Recycler recycler)
  • Loading branch information
Vlad-00003 authored and lukespragg committed Aug 6, 2021
1 parent 46f7ce2 commit 3a1762e
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 @@ -16945,6 +16945,32 @@
"BaseHookName": null,
"HookCategory": "Vending"
}
},
{
"Type": "Simple",
"Hook": {
"InjectionIndex": 0,
"ReturnBehavior": 1,
"ArgumentBehavior": 4,
"ArgumentString": "a0, this",
"HookTypeName": "Simple",
"Name": "CanBeRecycled",
"HookName": "CanBeRecycled",
"AssemblyName": "Assembly-CSharp.dll",
"TypeName": "Recycler",
"Flagged": false,
"Signature": {
"Exposure": 0,
"Name": "CanBeRecycled",
"ReturnType": "System.Boolean",
"Parameters": [
"Item"
]
},
"MSILHash": "A5AcQ8ZT2YgZHSOXGm0sQu4Oi/3pHOVghfJaBLh65Rw=",
"BaseHookName": null,
"HookCategory": "Entity"
}
}
],
"Modifiers": [
Expand Down

0 comments on commit 3a1762e

Please sign in to comment.