Skip to content

Commit c14a51d

Browse files
authored
NavalUpdate Hooks
Object OnDeepSeaTeleport(TriggerDeepSeaPortal portal, BaseEntity ent) Used to detect when something is going to trigger, Useful for transfering objects between zones. Object CanTeleportToMainIsland(BaseEntity ent) Object CanTeleportToDeepSea(BaseEntity ent) Used for condition based movement of things between zones where you dont want every item of that type to be allowed with the transfere whitelist. Void OnCloseDeepSea(DeepSeaManager deepsea) Used for teleporting stuff out of deepsea before its destroyed Void OnOpenDeepSea(DeepSeaManager deepsea) Used to determin if deepsea is opening again to teleport stuff into it.
1 parent eee484a commit c14a51d

File tree

1 file changed

+122
-1
lines changed

1 file changed

+122
-1
lines changed

resources/Rust.opj

Lines changed: 122 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9005,6 +9005,127 @@
90059005
"HookCategory": "Vehicle"
90069006
}
90079007
},
9008+
{
9009+
"Type": "Simple",
9010+
"Hook": {
9011+
"InjectionIndex": 110,
9012+
"ReturnBehavior": 1,
9013+
"ArgumentBehavior": 4,
9014+
"ArgumentString": "this, l0.ent",
9015+
"HookTypeName": "Simple",
9016+
"Name": "OnDeepSeaTeleport",
9017+
"HookName": "OnDeepSeaTeleport",
9018+
"AssemblyName": "Assembly-CSharp.dll",
9019+
"TypeName": "TriggerDeepSeaPortal",
9020+
"Flagged": false,
9021+
"Signature": {
9022+
"Exposure": 3,
9023+
"Name": "OnEntityEnter",
9024+
"ReturnType": "System.Void",
9025+
"Parameters": [
9026+
"BaseEntity"
9027+
]
9028+
},
9029+
"MSILHash": "jqosGPyU0QmR5d+tXoEUo5LyDcTOuHCGrREL2fZdrE4=",
9030+
"HookCategory": "Naval"
9031+
}
9032+
},
9033+
{
9034+
"Type": "Simple",
9035+
"Hook": {
9036+
"InjectionIndex": 0,
9037+
"ReturnBehavior": 1,
9038+
"ArgumentBehavior": 4,
9039+
"ArgumentString": "a0",
9040+
"HookTypeName": "Simple",
9041+
"Name": "CanTeleportToMainIsland",
9042+
"HookName": "CanTeleportToMainIsland",
9043+
"AssemblyName": "Assembly-CSharp.dll",
9044+
"TypeName": "DeepSeaManager",
9045+
"Flagged": false,
9046+
"Signature": {
9047+
"Exposure": 2,
9048+
"Name": "CanTeleportToMainIsland",
9049+
"ReturnType": "System.ValueTuple<System.Boolean, Translate.Phrase>",
9050+
"Parameters": [
9051+
"BaseEntity"
9052+
]
9053+
},
9054+
"MSILHash": "wabPT8a6L+67C8IuLOvPb7D5dQ1/bET+1samC7zjqk0=",
9055+
"HookCategory": "Naval"
9056+
}
9057+
},
9058+
{
9059+
"Type": "Simple",
9060+
"Hook": {
9061+
"InjectionIndex": 0,
9062+
"ReturnBehavior": 1,
9063+
"ArgumentBehavior": 4,
9064+
"ArgumentString": "a0",
9065+
"HookTypeName": "Simple",
9066+
"Name": "CanTeleportToDeepSea",
9067+
"HookName": "CanTeleportToDeepSea",
9068+
"AssemblyName": "Assembly-CSharp.dll",
9069+
"TypeName": "DeepSeaManager",
9070+
"Flagged": false,
9071+
"Signature": {
9072+
"Exposure": 2,
9073+
"Name": "CanTeleportToDeepSea",
9074+
"ReturnType": "System.ValueTuple<System.Boolean, Translate.Phrase>",
9075+
"Parameters": [
9076+
"BaseEntity"
9077+
]
9078+
},
9079+
"MSILHash": "l748ee1+RFOhvpXKKb328pnHx6lI43F0AxxeHt9fiII=",
9080+
"HookCategory": "Naval"
9081+
}
9082+
},
9083+
{
9084+
"Type": "Simple",
9085+
"Hook": {
9086+
"InjectionIndex": 0,
9087+
"ReturnBehavior": 0,
9088+
"ArgumentBehavior": 4,
9089+
"ArgumentString": "this",
9090+
"HookTypeName": "Simple",
9091+
"Name": "OnCloseDeepSea",
9092+
"HookName": "OnCloseDeepSea",
9093+
"AssemblyName": "Assembly-CSharp.dll",
9094+
"TypeName": "DeepSeaManager/<CloseDeepSeaAsync>d__106",
9095+
"Flagged": false,
9096+
"Signature": {
9097+
"Exposure": 0,
9098+
"Name": "MoveNext",
9099+
"ReturnType": "System.Boolean",
9100+
"Parameters": []
9101+
},
9102+
"MSILHash": "rGTLM2vuOiMrxud/2qEB/Ov0WUva157iN3MrN9FjePU=",
9103+
"HookCategory": "Naval"
9104+
}
9105+
},
9106+
{
9107+
"Type": "Simple",
9108+
"Hook": {
9109+
"InjectionIndex": 0,
9110+
"ReturnBehavior": 0,
9111+
"ArgumentBehavior": 4,
9112+
"ArgumentString": "this",
9113+
"HookTypeName": "Simple",
9114+
"Name": "OnOpenDeepSea",
9115+
"HookName": "OnOpenDeepSea",
9116+
"AssemblyName": "Assembly-CSharp.dll",
9117+
"TypeName": "DeepSeaManager/<OpenDeepSeaAsync>d__104",
9118+
"Flagged": false,
9119+
"Signature": {
9120+
"Exposure": 0,
9121+
"Name": "MoveNext",
9122+
"ReturnType": "System.Boolean",
9123+
"Parameters": []
9124+
},
9125+
"MSILHash": "iTZfGQuJjp2xiGbgpXY8SGTzX+900ANx3hEgQo79LJc=",
9126+
"HookCategory": "Naval"
9127+
}
9128+
},
90089129
{
90099130
"Type": "Simple",
90109131
"Hook": {
@@ -53627,4 +53748,4 @@
5362753748
"Fields": []
5362853749
}
5362953750
]
53630-
}
53751+
}

0 commit comments

Comments
 (0)