From 3a1762e35e2633909dc3c39c4b3d8ab2f121fedb Mon Sep 17 00:00:00 2001 From: Vlad-00003 Date: Fri, 6 Aug 2021 01:58:39 +0300 Subject: [PATCH] Add CanItemBeRecycled hook - bool CanBeRecycled(Item item, Recycler recycler) --- resources/Rust.opj | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/resources/Rust.opj b/resources/Rust.opj index ac65dfb9f..eb50e2b04 100644 --- a/resources/Rust.opj +++ b/resources/Rust.opj @@ -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": [