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 47580b4
Showing 1 changed file with 171 additions and 0 deletions.
171 changes: 171 additions & 0 deletions resources/Rust.opj
Original file line number Diff line number Diff line change
Expand Up @@ -19779,6 +19779,32 @@
"HookCategory": "Player"
}
},
{
"Type": "Simple",
"Hook": {
"InjectionIndex": 8,
"ReturnBehavior": 1,
"ArgumentBehavior": 4,
"ArgumentString": "this,a0.read.Vector3()",
"HookTypeName": "Simple",
"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": "Simple",
"Hook": {
Expand Down Expand Up @@ -20460,6 +20486,56 @@
"MSILHash": "+/sLy4QRladVS1YSd5e4/fjVg5VG+tMbVPnhNw1FdiY=",
"HookCategory": "Entity"
}
},
{
"Type": "Modify",
"Hook": {
"InjectionIndex": 19,
"RemoveCount": 0,
"Instructions": [
{
"OpCode": "ldarg_1",
"OpType": "None"
},
{
"OpCode": "ldfld",
"OpType": "Field",
"Operand": "Assembly-CSharp|BaseEntity/RPCMessage|read"
},
{
"OpCode": "ldc_i4",
"OpType": "Int32",
"Operand": "13"
},
{
"OpCode": "conv_i8",
"OpType": "None"
},
{
"OpCode": "callvirt",
"OpType": "Method",
"Operand": "mscorlib|System.IO.Stream|set_Position"
}
],
"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 +23153,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 +49631,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 47580b4

Please sign in to comment.