From 9031839b62e80eb34feea0497ae58c29d0ae169d Mon Sep 17 00:00:00 2001 From: dassjosh Date: Mon, 26 Feb 2024 11:48:36 -0600 Subject: [PATCH] Added object OnQuarryToggle(MiningQuarry quarry, BasePlayer player) hook --- resources/Rust.opj | 64 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) diff --git a/resources/Rust.opj b/resources/Rust.opj index a47473cbe..661e74310 100644 --- a/resources/Rust.opj +++ b/resources/Rust.opj @@ -7571,6 +7571,38 @@ "OpType": "Instruction", "Operand": 10 }, + { + "OpCode": "ldstr", + "OpType": "String", + "Operand": "OnQuarryToggle" + }, + { + "OpCode": "ldloc_0", + "OpType": "None" + }, + { + "OpCode": "ldarg_1", + "OpType": "None" + }, + { + "OpCode": "ldfld", + "OpType": "Field", + "Operand": "Assembly-CSharp|BaseEntity/RPCMessage|player" + }, + { + "OpCode": "call", + "OpType": "Method", + "Operand": "Oxide.Core|Oxide.Core.Interface|CallHook(System.String,System.Object,System.Object)" + }, + { + "OpCode": "ldnull", + "OpType": "None" + }, + { + "OpCode": "bne_un_s", + "OpType": "Instruction", + "Operand": 10 + }, { "OpCode": "ldloc_0", "OpType": "None" @@ -7641,6 +7673,38 @@ "OpType": "Instruction", "Operand": 10 }, + { + "OpCode": "ldstr", + "OpType": "String", + "Operand": "OnQuarryToggle" + }, + { + "OpCode": "ldloc_0", + "OpType": "None" + }, + { + "OpCode": "ldarg_1", + "OpType": "None" + }, + { + "OpCode": "ldfld", + "OpType": "Field", + "Operand": "Assembly-CSharp|BaseEntity/RPCMessage|player" + }, + { + "OpCode": "call", + "OpType": "Method", + "Operand": "Oxide.Core|Oxide.Core.Interface|CallHook(System.String,System.Object,System.Object)" + }, + { + "OpCode": "ldnull", + "OpType": "None" + }, + { + "OpCode": "bne_un_s", + "OpType": "Instruction", + "Operand": 10 + }, { "OpCode": "ldloc_0", "OpType": "None"