Skip to content

Commit

Permalink
Add OnPlayerVanish and OnPlayerUnvanish hooks (#541)
Browse files Browse the repository at this point in the history
  • Loading branch information
IIIaKa authored Dec 30, 2024
1 parent b967f3f commit 0d02c72
Showing 1 changed file with 51 additions and 0 deletions.
51 changes: 51 additions & 0 deletions resources/Rust.opj
Original file line number Diff line number Diff line change
Expand Up @@ -53667,6 +53667,57 @@
"BaseHookName": "OnClanLogoChanged",
"HookCategory": "Clan"
}
},
{
"Type": "Simple",
"Hook": {
"InjectionIndex": 48,
"ReturnBehavior": 0,
"ArgumentBehavior": 4,
"ArgumentString": "l0",
"HookTypeName": "Simple",
"Name": "OnPlayerVanish",
"HookName": "OnPlayerVanish",
"AssemblyName": "Assembly-CSharp.dll",
"TypeName": "ConVar.Debugging",
"Flagged": false,
"Signature": {
"Exposure": 2,
"Name": "invis",
"ReturnType": "System.Void",
"Parameters": [
"ConsoleSystem/Arg"
]
},
"MSILHash": "IzdN5chchqSU/SzhkwmVml/q0gPr+p3c6D+Ldw1JS3U=",
"HookCategory": "Player"
}
},
{
"Type": "Simple",
"Hook": {
"InjectionIndex": 92,
"ReturnBehavior": 0,
"ArgumentBehavior": 4,
"ArgumentString": "l0",
"HookTypeName": "Simple",
"Name": "OnPlayerUnvanish",
"HookName": "OnPlayerUnvanish",
"AssemblyName": "Assembly-CSharp.dll",
"TypeName": "ConVar.Debugging",
"Flagged": false,
"Signature": {
"Exposure": 2,
"Name": "invis",
"ReturnType": "System.Void",
"Parameters": [
"ConsoleSystem/Arg"
]
},
"MSILHash": "IzdN5chchqSU/SzhkwmVml/q0gPr+p3c6D+Ldw1JS3U=",
"BaseHookName": "OnPlayerVanish",
"HookCategory": "Player"
}
}
],
"Modifiers": [
Expand Down

0 comments on commit 0d02c72

Please sign in to comment.