From 207b864a84894c802d0109b0267e724e65275e47 Mon Sep 17 00:00:00 2001 From: Luke Spragg Date: Sat, 5 Jun 2021 09:56:29 -0400 Subject: [PATCH] Add OnCorpsePopulate for HumanNPCNew - object OnCorpsePopulate(HumanNPCNew entity, NPCPlayerCorpse corpse) --- resources/Rust.opj | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/resources/Rust.opj b/resources/Rust.opj index df0e861fa..a279912b0 100644 --- a/resources/Rust.opj +++ b/resources/Rust.opj @@ -16230,6 +16230,30 @@ "BaseHookName": null, "HookCategory": "Structure" } + }, + { + "Type": "Simple", + "Hook": { + "InjectionIndex": 99, + "ReturnBehavior": 1, + "ArgumentBehavior": 4, + "ArgumentString": "this, l1", + "HookTypeName": "Simple", + "Name": "OnCorpsePopulate [HumanNPCNew]", + "HookName": "OnCorpsePopulate", + "AssemblyName": "Assembly-CSharp.dll", + "TypeName": "HumanNPCNew", + "Flagged": false, + "Signature": { + "Exposure": 2, + "Name": "CreateCorpse", + "ReturnType": "BaseCorpse", + "Parameters": [] + }, + "MSILHash": "vPqlWSLby17ux8/nmX7lu86nHSWGbUeuPleEeTBOEdk=", + "BaseHookName": null, + "HookCategory": "Entity" + } } ], "Modifiers": [