Skip to content

Commit 19d93b3

Browse files
appendixisMrBlue
authored andcommitted
Add BoomBox hooks
- OnBoomboxStationValidate(string) - OnBoomboxToggle(BoomBox, BasePlayer, bool) - OnBoomboxStationUpdate(BoomBox, string, BasePlayer) - OnBoomboxStationUpdated(BoomBox, string, BasePlayer)
1 parent e81ceb2 commit 19d93b3

File tree

1 file changed

+101
-0
lines changed

1 file changed

+101
-0
lines changed

resources/Rust.opj

Lines changed: 101 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20281,6 +20281,107 @@
2028120281
"MSILHash": "oelkElc5bsnDXWnt9pSlNOuOhhesKm4bpWqckRQm//Y=",
2028220282
"HookCategory": "Player"
2028320283
}
20284+
},
20285+
{
20286+
"Type": "Simple",
20287+
"Hook": {
20288+
"InjectionIndex": 1,
20289+
"ReturnBehavior": 1,
20290+
"ArgumentBehavior": 4,
20291+
"ArgumentString": "a0",
20292+
"HookTypeName": "Simple",
20293+
"Name": "OnBoomboxStationValidate",
20294+
"HookName": "OnBoomboxStationValidate",
20295+
"AssemblyName": "Assembly-CSharp.dll",
20296+
"TypeName": "BoomBox",
20297+
"Flagged": false,
20298+
"Signature": {
20299+
"Exposure": 0,
20300+
"Name": "IsStationValid",
20301+
"ReturnType": "System.Boolean",
20302+
"Parameters": [
20303+
"System.String"
20304+
]
20305+
},
20306+
"MSILHash": "JjyGnUulaIPG6tvqQOKjP7CkdNltisMKzUDlDrWe8uA=",
20307+
"HookCategory": "Radio"
20308+
}
20309+
},
20310+
{
20311+
"Type": "Simple",
20312+
"Hook": {
20313+
"InjectionIndex": 10,
20314+
"ReturnBehavior": 4,
20315+
"ArgumentBehavior": 4,
20316+
"ArgumentString": "this, a0.player, l0",
20317+
"HookTypeName": "Simple",
20318+
"Name": "OnBoomboxToggle",
20319+
"HookName": "OnBoomboxToggle",
20320+
"AssemblyName": "Assembly-CSharp.dll",
20321+
"TypeName": "BoomBox",
20322+
"Flagged": false,
20323+
"Signature": {
20324+
"Exposure": 2,
20325+
"Name": "ServerTogglePlay",
20326+
"ReturnType": "System.Void",
20327+
"Parameters": [
20328+
"BaseEntity/RPCMessage"
20329+
]
20330+
},
20331+
"MSILHash": "RFh1F+MViq2HcWYH1BaSHq870CeI9OZtcVsxQ3mL1bE=",
20332+
"HookCategory": "Radio"
20333+
}
20334+
},
20335+
{
20336+
"Type": "Simple",
20337+
"Hook": {
20338+
"InjectionIndex": 6,
20339+
"ReturnBehavior": 4,
20340+
"ArgumentBehavior": 4,
20341+
"ArgumentString": "this, l0, a0.player",
20342+
"HookTypeName": "Simple",
20343+
"Name": "OnBoomboxStationUpdate",
20344+
"HookName": "OnBoomboxStationUpdate",
20345+
"AssemblyName": "Assembly-CSharp.dll",
20346+
"TypeName": "BoomBox",
20347+
"Flagged": false,
20348+
"Signature": {
20349+
"Exposure": 2,
20350+
"Name": "Server_UpdateRadioIP",
20351+
"ReturnType": "System.Void",
20352+
"Parameters": [
20353+
"BaseEntity/RPCMessage"
20354+
]
20355+
},
20356+
"MSILHash": "KJbpFoNRkWjY3I5mEu2zZabe3EWil1dH3U91BB0aBAQ=",
20357+
"HookCategory": "Radio"
20358+
}
20359+
},
20360+
{
20361+
"Type": "Simple",
20362+
"Hook": {
20363+
"InjectionIndex": 40,
20364+
"ReturnBehavior": 0,
20365+
"ArgumentBehavior": 4,
20366+
"ArgumentString": "this, l0, a0.player",
20367+
"HookTypeName": "Simple",
20368+
"Name": "OnBoomboxStationUpdated",
20369+
"HookName": "OnBoomboxStationUpdated",
20370+
"AssemblyName": "Assembly-CSharp.dll",
20371+
"TypeName": "BoomBox",
20372+
"Flagged": false,
20373+
"Signature": {
20374+
"Exposure": 2,
20375+
"Name": "Server_UpdateRadioIP",
20376+
"ReturnType": "System.Void",
20377+
"Parameters": [
20378+
"BaseEntity/RPCMessage"
20379+
]
20380+
},
20381+
"MSILHash": "KJbpFoNRkWjY3I5mEu2zZabe3EWil1dH3U91BB0aBAQ=",
20382+
"BaseHookName": "OnBoomboxStationUpdate",
20383+
"HookCategory": "Radio"
20384+
}
2028420385
}
2028520386
],
2028620387
"Modifiers": [

0 commit comments

Comments
 (0)