Skip to content

Commit d685b25

Browse files
rostov114ads102003
authored andcommitted
Add offline arg in hook OnTeamMemberInvite #564
1 parent 6167d65 commit d685b25

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

resources/Rust.opj

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21707,7 +21707,7 @@
2170721707
"InjectionIndex": 61,
2170821708
"ReturnBehavior": 1,
2170921709
"ArgumentBehavior": 4,
21710-
"ArgumentString": "l1, l0, l2",
21710+
"ArgumentString": "l1, l0, l2, true",
2171121711
"HookTypeName": "Simple",
2171221712
"Name": "OnTeamMemberInvite [sendofflineinvite]",
2171321713
"HookName": "OnTeamMemberInvite",
@@ -21764,10 +21764,19 @@
2176421764
"OpType": "Type",
2176521765
"Operand": "mscorlib|System.UInt64"
2176621766
},
21767+
{
21768+
"OpCode": "ldc_i4_0",
21769+
"OpType": "None"
21770+
},
21771+
{
21772+
"OpCode": "box",
21773+
"OpType": "Type",
21774+
"Operand": "mscorlib|System.Boolean"
21775+
},
2176721776
{
2176821777
"OpCode": "call",
2176921778
"OpType": "Method",
21770-
"Operand": "Oxide.Core|Oxide.Core.Interface|CallHook(System.String,System.Object,System.Object,System.Object)"
21779+
"Operand": "Oxide.Core|Oxide.Core.Interface|CallHook(System.String,System.Object,System.Object,System.Object,System.Object)"
2177121780
},
2177221781
{
2177321782
"OpCode": "brfalse_s",
@@ -53880,4 +53889,4 @@
5388053889
"Fields": []
5388153890
}
5388253891
]
53883-
}
53892+
}

0 commit comments

Comments
 (0)