Skip to content

Commit 5a47d0f

Browse files
committed
Add WallPaper & Digital Clock hooks
- OnWallpaperSet(BuildingBlock, ulong) - OnWallpaperRemove(BuildingBlock) - OnDigitalClockAlarmsSet(DigitalClock, DigitalClockMessage) - OnDigitalClockRing(DigitalClock) - OnDigitalClockRingStop(DigitalClock)
1 parent e6199f8 commit 5a47d0f

File tree

1 file changed

+124
-0
lines changed

1 file changed

+124
-0
lines changed

resources/Rust.opj

+124
Original file line numberDiff line numberDiff line change
@@ -602,6 +602,56 @@
602602
"HookCategory": "Player"
603603
}
604604
},
605+
{
606+
"Type": "Simple",
607+
"Hook": {
608+
"InjectionIndex": 0,
609+
"ReturnBehavior": 1,
610+
"ArgumentBehavior": 4,
611+
"ArgumentString": "this,a0",
612+
"HookTypeName": "Simple",
613+
"Name": "OnWallpaperSet",
614+
"HookName": "OnWallpaperSet",
615+
"HookDescription": "",
616+
"AssemblyName": "Assembly-CSharp.dll",
617+
"TypeName": "BuildingBlock",
618+
"Flagged": false,
619+
"Signature": {
620+
"Exposure": 2,
621+
"Name": "SetWallpaper",
622+
"ReturnType": "System.Void",
623+
"Parameters": [
624+
"System.UInt64"
625+
]
626+
},
627+
"MSILHash": "dLQmzMp/E6zsPvlZS4ytwsld8d+pKct92hMtTOq52+w=",
628+
"HookCategory": "Structure"
629+
}
630+
},
631+
{
632+
"Type": "Simple",
633+
"Hook": {
634+
"InjectionIndex": 0,
635+
"ReturnBehavior": 1,
636+
"ArgumentBehavior": 4,
637+
"ArgumentString": "this",
638+
"HookTypeName": "Simple",
639+
"Name": "OnWallpaperRemove",
640+
"HookName": "OnWallpaperRemove",
641+
"HookDescription": "",
642+
"AssemblyName": "Assembly-CSharp.dll",
643+
"TypeName": "BuildingBlock",
644+
"Flagged": false,
645+
"Signature": {
646+
"Exposure": 2,
647+
"Name": "RemoveWallpaper",
648+
"ReturnType": "System.Void",
649+
"Parameters": []
650+
},
651+
"MSILHash": "FZOoc8dqfrhOJ1I3oCw9QSVutUtQWV3DVExwNczjWbo=",
652+
"HookCategory": "Structure"
653+
}
654+
},
605655
{
606656
"Type": "Simple",
607657
"Hook": {
@@ -7260,6 +7310,80 @@
72607310
"HookCategory": "Electronic"
72617311
}
72627312
},
7313+
{
7314+
"Type": "Simple",
7315+
"Hook": {
7316+
"InjectionIndex": 0,
7317+
"ReturnBehavior": 1,
7318+
"ArgumentBehavior": 4,
7319+
"ArgumentString": "this",
7320+
"HookTypeName": "Simple",
7321+
"Name": "OnDigitalClockRing",
7322+
"HookName": "OnDigitalClockRing",
7323+
"HookDescription": "",
7324+
"AssemblyName": "Assembly-CSharp.dll",
7325+
"TypeName": "DigitalClock",
7326+
"Flagged": false,
7327+
"Signature": {
7328+
"Exposure": 0,
7329+
"Name": "Ring",
7330+
"ReturnType": "System.Void",
7331+
"Parameters": []
7332+
},
7333+
"MSILHash": "8R5LHnWaO9dBJE6Zqn+1l5QwyPMZfZk6IWAyMexeI+I=",
7334+
"HookCategory": "Electronic"
7335+
}
7336+
},
7337+
{
7338+
"Type": "Simple",
7339+
"Hook": {
7340+
"InjectionIndex": 0,
7341+
"ReturnBehavior": 1,
7342+
"ArgumentBehavior": 4,
7343+
"ArgumentString": "this",
7344+
"HookTypeName": "Simple",
7345+
"Name": "OnDigitalClockRingStop",
7346+
"HookName": "OnDigitalClockRingStop",
7347+
"HookDescription": "",
7348+
"AssemblyName": "Assembly-CSharp.dll",
7349+
"TypeName": "DigitalClock",
7350+
"Flagged": false,
7351+
"Signature": {
7352+
"Exposure": 0,
7353+
"Name": "StopRinging",
7354+
"ReturnType": "System.Void",
7355+
"Parameters": []
7356+
},
7357+
"MSILHash": "v7qcdqabPNmtHb9LAJv5CNmmZVir9EfX9iD5I2/+rvU=",
7358+
"HookCategory": "Electronic"
7359+
}
7360+
},
7361+
{
7362+
"Type": "Simple",
7363+
"Hook": {
7364+
"InjectionIndex": 10,
7365+
"ReturnBehavior": 1,
7366+
"ArgumentBehavior": 4,
7367+
"ArgumentString": "this, l0",
7368+
"HookTypeName": "Simple",
7369+
"Name": "OnDigitalClockAlarmsSet",
7370+
"HookName": "OnDigitalClockAlarmsSet",
7371+
"HookDescription": "",
7372+
"AssemblyName": "Assembly-CSharp.dll",
7373+
"TypeName": "DigitalClock",
7374+
"Flagged": false,
7375+
"Signature": {
7376+
"Exposure": 2,
7377+
"Name": "RPC_SetAlarms",
7378+
"ReturnType": "System.Void",
7379+
"Parameters": [
7380+
"BaseEntity/RPCMessage"
7381+
]
7382+
},
7383+
"MSILHash": "yccsnWX5DSptuG+c8mzRROMFGAxtFi2EAeGbU/V2raI=",
7384+
"HookCategory": "Electronic"
7385+
}
7386+
},
72637387
{
72647388
"Type": "Simple",
72657389
"Hook": {

0 commit comments

Comments
 (0)