Skip to content

Commit a942005

Browse files
k1lly0uads102003
authored andcommitted
Add fog of war hooks (#571)
void OnFogOfWarStale(BasePlayer player) void OnFogOfWarCleared(BasePlayer player, bool mainland, bool deepSea) object OnFogOfWarImageUpdate(BasePlayer player, byte force, byte index, uint imageCrc, uint entityId, byte[] bytes)
1 parent e7cf758 commit a942005

1 file changed

Lines changed: 75 additions & 0 deletions

File tree

resources/Rust.opj

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22599,6 +22599,81 @@
2259922599
"MSILHash": "GpHJEcTdgHjoM8oT3mbslg/b0PM4xFyOQwIR3cSB/yU=",
2260022600
"HookCategory": "Resource"
2260122601
}
22602+
},
22603+
{
22604+
"Type": "Simple",
22605+
"Hook": {
22606+
"InjectionIndex": 8,
22607+
"ReturnBehavior": 0,
22608+
"ArgumentBehavior": 1,
22609+
"HookTypeName": "Simple",
22610+
"Name": "OnFogOfWarStale",
22611+
"HookName": "OnFogOfWarStale",
22612+
"HookDescription": "",
22613+
"AssemblyName": "Assembly-CSharp.dll",
22614+
"TypeName": "BasePlayer",
22615+
"Flagged": false,
22616+
"Signature": {
22617+
"Exposure": 0,
22618+
"Name": "OnFogOfWarStale",
22619+
"ReturnType": "System.Void",
22620+
"Parameters": []
22621+
},
22622+
"MSILHash": "srOlrk3Vk7uHb4I0F2vGecv4GmkpWWsHHrKgGd74ia8=",
22623+
"HookCategory": "Player"
22624+
}
22625+
},
22626+
{
22627+
"Type": "Simple",
22628+
"Hook": {
22629+
"InjectionIndex": 14,
22630+
"ReturnBehavior": 0,
22631+
"ArgumentBehavior": 4,
22632+
"ArgumentString": "this, a0, a1",
22633+
"HookTypeName": "Simple",
22634+
"Name": "OnFogOfWarCleared",
22635+
"HookName": "OnFogOfWarCleared",
22636+
"AssemblyName": "Assembly-CSharp.dll",
22637+
"TypeName": "BasePlayer",
22638+
"Flagged": false,
22639+
"Signature": {
22640+
"Exposure": 2,
22641+
"Name": "ServerClearFog",
22642+
"ReturnType": "System.Void",
22643+
"Parameters": [
22644+
"System.Boolean",
22645+
"System.Boolean"
22646+
]
22647+
},
22648+
"MSILHash": "vsmUzSri5zdeOxOQwGlpGALO34ASKBILDWhBMYj9ZoM=",
22649+
"HookCategory": "Player"
22650+
}
22651+
},
22652+
{
22653+
"Type": "Simple",
22654+
"Hook": {
22655+
"InjectionIndex": 55,
22656+
"ReturnBehavior": 4,
22657+
"ArgumentBehavior": 4,
22658+
"ArgumentString": "this, l0, l1, l2, l3, l5",
22659+
"HookTypeName": "Simple",
22660+
"Name": "OnFogOfWarImageUpdate",
22661+
"HookName": "OnFogOfWarImageUpdate",
22662+
"HookDescription": "",
22663+
"AssemblyName": "Assembly-CSharp.dll",
22664+
"TypeName": "BasePlayer",
22665+
"Flagged": false,
22666+
"Signature": {
22667+
"Exposure": 2,
22668+
"Name": "FogImageUpdate",
22669+
"ReturnType": "System.Void",
22670+
"Parameters": [
22671+
"BaseEntity/RPCMessage"
22672+
]
22673+
},
22674+
"MSILHash": "3smV/je1F9BlX/4LWbF477+80t0nZh5np/ATL8x8ouc=",
22675+
"HookCategory": "Player"
22676+
}
2260222677
}
2260322678
],
2260422679
"Modifiers": [

0 commit comments

Comments
 (0)