Skip to content

Commit

Permalink
Add OnMetalDetectorFlagRequest and exposure changes
Browse files Browse the repository at this point in the history
- OnMetalDetectorFlagRequest(BaseMetalDetector, Vector3)

Exposures
BaseMetalDetector::nearestSource
LockOnLauncher::lockRange
LockOnLauncher::lockConeDot
LockOnLauncher::timeToLock
LockOnLauncher::timeToLoseLock
  • Loading branch information
bmgjet authored and MrBlue committed Apr 2, 2024
1 parent 54471cd commit 035db52
Showing 1 changed file with 196 additions and 0 deletions.
196 changes: 196 additions & 0 deletions resources/Rust.opj
Original file line number Diff line number Diff line change
Expand Up @@ -20460,6 +20460,107 @@
"MSILHash": "+/sLy4QRladVS1YSd5e4/fjVg5VG+tMbVPnhNw1FdiY=",
"HookCategory": "Entity"
}
},
{
"Type": "Modify",
"Hook": {
"InjectionIndex": 8,
"RemoveCount": 0,
"Instructions": [
{
"OpCode": "ldarg_1",
"OpType": "None"
},
{
"OpCode": "ldfld",
"OpType": "Field",
"Operand": "Assembly-CSharp|BaseEntity/RPCMessage|read"
},
{
"OpCode": "callvirt",
"OpType": "Method",
"Operand": "Facepunch.Network|Network.NetRead|Vector3"
},
{
"OpCode": "stloc_1",
"OpType": "None"
},
{
"OpCode": "ldstr",
"OpType": "String",
"Operand": "OnMetalDetectorFlagRequest"
},
{
"OpCode": "ldarg_0",
"OpType": "None"
},
{
"OpCode": "ldloc_1",
"OpType": "None"
},
{
"OpCode": "ldloc_0",
"OpType": "None"
},
{
"OpCode": "call",
"OpType": "Method",
"Operand": "Oxide.Core|Oxide.Core.Interface|CallHook(System.String,System.Object,System.Object,System.Object)"
},
{
"OpCode": "brfalse_s",
"OpType": "Instruction",
"Operand": 8
},
{
"OpCode": "ret",
"OpType": "None"
}
],
"HookTypeName": "Modify",
"Name": "OnMetalDetectorFlagRequest",
"HookName": "OnMetalDetectorFlagRequest",
"HookDescription": "",
"AssemblyName": "Assembly-CSharp.dll",
"TypeName": "BaseMetalDetector",
"Flagged": false,
"Signature": {
"Exposure": 0,
"Name": "RPC_RequestFlag",
"ReturnType": "System.Void",
"Parameters": [
"BaseEntity/RPCMessage"
]
},
"MSILHash": "eSPtIv/vd+ukDV5VnEjrDXVh+IKNBoMl08nuFWzAE+A=",
"HookCategory": "Player"
}
},
{
"Type": "Modify",
"Hook": {
"InjectionIndex": 27,
"RemoveCount": 4,
"Instructions": [],
"HookTypeName": "Modify",
"Name": "OnMetalDetectorFlagRequest [patch]",
"HookName": "OnMetalDetectorFlagRequest [patch]",
"HookDescription": "",
"AssemblyName": "Assembly-CSharp.dll",
"TypeName": "BaseMetalDetector",
"Flagged": false,
"Signature": {
"Exposure": 0,
"Name": "RPC_RequestFlag",
"ReturnType": "System.Void",
"Parameters": [
"BaseEntity/RPCMessage"
]
},
"MSILHash": "eSPtIv/vd+ukDV5VnEjrDXVh+IKNBoMl08nuFWzAE+A=",
"BaseHookName": "OnMetalDetectorFlagRequest",
"HookCategory": "Player"
}
}
],
"Modifiers": [
Expand Down Expand Up @@ -23077,6 +23178,25 @@
},
"MSILHash": ""
},
{
"Name": "BaseMetalDetector::nearestSource",
"AssemblyName": "Assembly-CSharp.dll",
"TypeName": "BaseMetalDetector",
"Type": 0,
"TargetExposure": [
2
],
"Flagged": false,
"Signature": {
"Exposure": [
0
],
"Name": "nearestSource",
"FullTypeName": "IMetalDetectable BaseMetalDetector::nearestSource",
"Parameters": []
},
"MSILHash": ""
},
{
"Name": "SamSite::lockOnTime",
"AssemblyName": "Assembly-CSharp.dll",
Expand Down Expand Up @@ -49536,6 +49656,82 @@
},
"MSILHash": ""
},
{
"Name": "LockOnLauncher::lockRange",
"AssemblyName": "Assembly-CSharp.dll",
"TypeName": "LockOnLauncher",
"Type": 0,
"TargetExposure": [
2
],
"Flagged": false,
"Signature": {
"Exposure": [
0
],
"Name": "lockRange",
"FullTypeName": "System.Single LockOnLauncher::lockRange",
"Parameters": []
},
"MSILHash": ""
},
{
"Name": "LockOnLauncher::lockConeDot",
"AssemblyName": "Assembly-CSharp.dll",
"TypeName": "LockOnLauncher",
"Type": 0,
"TargetExposure": [
2
],
"Flagged": false,
"Signature": {
"Exposure": [
0
],
"Name": "lockConeDot",
"FullTypeName": "System.Single LockOnLauncher::lockConeDot",
"Parameters": []
},
"MSILHash": ""
},
{
"Name": "LockOnLauncher::timeToLock",
"AssemblyName": "Assembly-CSharp.dll",
"TypeName": "LockOnLauncher",
"Type": 0,
"TargetExposure": [
2
],
"Flagged": false,
"Signature": {
"Exposure": [
0
],
"Name": "timeToLock",
"FullTypeName": "System.Single LockOnLauncher::timeToLock",
"Parameters": []
},
"MSILHash": ""
},
{
"Name": "LockOnLauncher::timeToLoseLock",
"AssemblyName": "Assembly-CSharp.dll",
"TypeName": "LockOnLauncher",
"Type": 0,
"TargetExposure": [
2
],
"Flagged": false,
"Signature": {
"Exposure": [
0
],
"Name": "timeToLoseLock",
"FullTypeName": "System.Single LockOnLauncher::timeToLoseLock",
"Parameters": []
},
"MSILHash": ""
},
{
"Name": "IOEntity::_processQueues",
"AssemblyName": "Assembly-CSharp.dll",
Expand Down

0 comments on commit 035db52

Please sign in to comment.