Skip to content

Commit 4851c28

Browse files
ads102003MrBlue
authored andcommitted
Add args to OnSignalBroadcast
1 parent 0a9bacd commit 4851c28

File tree

1 file changed

+69
-139
lines changed

1 file changed

+69
-139
lines changed

resources/Rust.opj

Lines changed: 69 additions & 139 deletions
Original file line numberDiff line numberDiff line change
@@ -7667,145 +7667,6 @@
76677667
"HookCategory": "Entity"
76687668
}
76697669
},
7670-
{
7671-
"Type": "Modify",
7672-
"Hook": {
7673-
"InjectionIndex": 9,
7674-
"RemoveCount": 0,
7675-
"Instructions": [
7676-
{
7677-
"OpCode": "ldarg_0",
7678-
"OpType": "None"
7679-
},
7680-
{
7681-
"OpCode": "call",
7682-
"OpType": "Method",
7683-
"Operand": "Assembly-CSharp|BaseNetworkable|get_limitNetworking"
7684-
},
7685-
{
7686-
"OpCode": "brtrue_s",
7687-
"OpType": "Instruction",
7688-
"Operand": 8
7689-
},
7690-
{
7691-
"OpCode": "ldstr",
7692-
"OpType": "String",
7693-
"Operand": "OnSignalBroadcast"
7694-
},
7695-
{
7696-
"OpCode": "ldarg_0",
7697-
"OpType": "None"
7698-
},
7699-
{
7700-
"OpCode": "call",
7701-
"OpType": "Method",
7702-
"Operand": "Oxide.Core|Oxide.Core.Interface|CallHook(System.String,System.Object)"
7703-
},
7704-
{
7705-
"OpCode": "ldnull",
7706-
"OpType": "None"
7707-
},
7708-
{
7709-
"OpCode": "beq_s",
7710-
"OpType": "Instruction",
7711-
"Operand": 9
7712-
},
7713-
{
7714-
"OpCode": "ret",
7715-
"OpType": "None"
7716-
}
7717-
],
7718-
"HookTypeName": "Modify",
7719-
"Name": "OnSignalBroadcast",
7720-
"HookName": "OnSignalBroadcast",
7721-
"AssemblyName": "Assembly-CSharp.dll",
7722-
"TypeName": "BaseEntity",
7723-
"Flagged": false,
7724-
"Signature": {
7725-
"Exposure": 2,
7726-
"Name": "SignalBroadcast",
7727-
"ReturnType": "System.Void",
7728-
"Parameters": [
7729-
"BaseEntity/Signal",
7730-
"Network.Connection"
7731-
]
7732-
},
7733-
"MSILHash": "RlygwLzfqem6UhSMH2issh7vRSfBMHgfSgnLnp5UAzk=",
7734-
"HookCategory": "Network"
7735-
}
7736-
},
7737-
{
7738-
"Type": "Modify",
7739-
"Hook": {
7740-
"InjectionIndex": 9,
7741-
"RemoveCount": 0,
7742-
"Instructions": [
7743-
{
7744-
"OpCode": "ldarg_0",
7745-
"OpType": "None"
7746-
},
7747-
{
7748-
"OpCode": "call",
7749-
"OpType": "Method",
7750-
"Operand": "Assembly-CSharp|BaseNetworkable|get_limitNetworking"
7751-
},
7752-
{
7753-
"OpCode": "brtrue_s",
7754-
"OpType": "Instruction",
7755-
"Operand": 8
7756-
},
7757-
{
7758-
"OpCode": "ldstr",
7759-
"OpType": "String",
7760-
"Operand": "OnSignalBroadcast"
7761-
},
7762-
{
7763-
"OpCode": "ldarg_0",
7764-
"OpType": "None"
7765-
},
7766-
{
7767-
"OpCode": "ldarg_3",
7768-
"OpType": "None"
7769-
},
7770-
{
7771-
"OpCode": "call",
7772-
"OpType": "Method",
7773-
"Operand": "Oxide.Core|Oxide.Core.Interface|CallHook(System.String,System.Object,System.Object)"
7774-
},
7775-
{
7776-
"OpCode": "ldnull",
7777-
"OpType": "None"
7778-
},
7779-
{
7780-
"OpCode": "beq_s",
7781-
"OpType": "Instruction",
7782-
"Operand": 9
7783-
},
7784-
{
7785-
"OpCode": "ret",
7786-
"OpType": "None"
7787-
}
7788-
],
7789-
"HookTypeName": "Modify",
7790-
"Name": "OnSignalBroadcast",
7791-
"HookName": "OnSignalBroadcast",
7792-
"AssemblyName": "Assembly-CSharp.dll",
7793-
"TypeName": "BaseEntity",
7794-
"Flagged": false,
7795-
"Signature": {
7796-
"Exposure": 2,
7797-
"Name": "SignalBroadcast",
7798-
"ReturnType": "System.Void",
7799-
"Parameters": [
7800-
"BaseEntity/Signal",
7801-
"System.String",
7802-
"Network.Connection"
7803-
]
7804-
},
7805-
"MSILHash": "SIMcb05wIU8oWX9uzzpbME0PW9ArP4AGBapvnhvBpOk=",
7806-
"HookCategory": "Player"
7807-
}
7808-
},
78097670
{
78107671
"Type": "Simple",
78117672
"Hook": {
@@ -22103,6 +21964,75 @@
2210321964
"MSILHash": "rXPpyPIogZKd0hkIXe6+3dCtYPf+I4fwmxdfJSucYJs=",
2210421965
"HookCategory": "Entity"
2210521966
}
21967+
},
21968+
{
21969+
"Type": "Simple",
21970+
"Hook": {
21971+
"InjectionIndex": 9,
21972+
"ReturnBehavior": 4,
21973+
"ArgumentBehavior": 4,
21974+
"ArgumentString": "this, a2, a0, a1",
21975+
"HookTypeName": "Simple",
21976+
"Name": "OnSignalBroadcast",
21977+
"HookName": "OnSignalBroadcast",
21978+
"AssemblyName": "Assembly-CSharp.dll",
21979+
"TypeName": "BaseEntity",
21980+
"Flagged": false,
21981+
"Signature": {
21982+
"Exposure": 2,
21983+
"Name": "SignalBroadcast",
21984+
"ReturnType": "System.Void",
21985+
"Parameters": [
21986+
"BaseEntity/Signal",
21987+
"System.String",
21988+
"Network.Connection"
21989+
]
21990+
},
21991+
"MSILHash": "SIMcb05wIU8oWX9uzzpbME0PW9ArP4AGBapvnhvBpOk=",
21992+
"HookCategory": "Player"
21993+
}
21994+
},
21995+
{
21996+
"Type": "Modify",
21997+
"Hook": {
21998+
"InjectionIndex": 9,
21999+
"RemoveCount": 0,
22000+
"Instructions": [
22001+
{
22002+
"OpCode": "ldarg_0",
22003+
"OpType": "None"
22004+
},
22005+
{
22006+
"OpCode": "call",
22007+
"OpType": "Method",
22008+
"Operand": "Assembly-CSharp|BaseNetworkable|get_limitNetworking"
22009+
},
22010+
{
22011+
"OpCode": "brtrue_s",
22012+
"OpType": "Instruction",
22013+
"Operand": 8
22014+
}
22015+
],
22016+
"HookTypeName": "Modify",
22017+
"Name": "LimitNetworkingSignalBroadcast [Patch]",
22018+
"HookName": "LimitNetworkingSignalBroadcast [Patch]",
22019+
"AssemblyName": "Assembly-CSharp.dll",
22020+
"TypeName": "BaseEntity",
22021+
"Flagged": false,
22022+
"Signature": {
22023+
"Exposure": 2,
22024+
"Name": "SignalBroadcast",
22025+
"ReturnType": "System.Void",
22026+
"Parameters": [
22027+
"BaseEntity/Signal",
22028+
"System.String",
22029+
"Network.Connection"
22030+
]
22031+
},
22032+
"MSILHash": "SIMcb05wIU8oWX9uzzpbME0PW9ArP4AGBapvnhvBpOk=",
22033+
"BaseHookName": "OnSignalBroadcast",
22034+
"HookCategory": "_Patches"
22035+
}
2210622036
}
2210722037
],
2210822038
"Modifiers": [

0 commit comments

Comments
 (0)