Skip to content

Commit 9105692

Browse files
committed
Add CanLootEntity hook to WorldItems
- CanLootEntity(BasePlayer, WorldItem)
1 parent 5a47d0f commit 9105692

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

resources/Rust.opj

+26
Original file line numberDiff line numberDiff line change
@@ -21229,6 +21229,32 @@
2122921229
"BaseHookName": "OnVendingShopOpen [TravellingVendor]",
2123021230
"HookCategory": "Vending"
2123121231
}
21232+
},
21233+
{
21234+
"Type": "Simple",
21235+
"Hook": {
21236+
"InjectionIndex": 37,
21237+
"ReturnBehavior": 1,
21238+
"ArgumentBehavior": 4,
21239+
"ArgumentString": "L1, this",
21240+
"HookTypeName": "Simple",
21241+
"Name": "CanLootEntity",
21242+
"HookName": "CanLootEntity",
21243+
"HookDescription": "Called when a player tries to loot a WorldItem",
21244+
"AssemblyName": "Assembly-CSharp.dll",
21245+
"TypeName": "WorldItem",
21246+
"Flagged": false,
21247+
"Signature": {
21248+
"Exposure": 0,
21249+
"Name": "RPC_OpenLoot",
21250+
"ReturnType": "System.Void",
21251+
"Parameters": [
21252+
"BaseEntity/RPCMessage"
21253+
]
21254+
},
21255+
"MSILHash": "xtzIj9GyuX8f+qgh462mLQoAM0ti3Sy8IFUWTiBntbw=",
21256+
"HookCategory": "Entity"
21257+
}
2123221258
}
2123321259
],
2123421260
"Modifiers": [

0 commit comments

Comments
 (0)