Skip to content

Commit

Permalink
Added object OnQuarryToggle(MiningQuarry quarry, BasePlayer player) hook
Browse files Browse the repository at this point in the history
  • Loading branch information
dassjosh committed Feb 26, 2024
1 parent 858efeb commit 9031839
Showing 1 changed file with 64 additions and 0 deletions.
64 changes: 64 additions & 0 deletions resources/Rust.opj
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit 9031839

Please sign in to comment.