Skip to content

Commit 978d3ed

Browse files
DezLifeMrBlue
authored andcommitted
Add post gather hooks
- OnDispenserGathered(ResourceDispenser, BasePlayer, Item) - OnCollectiblePickedup(CollectibleEntity, BasePlayer, Item) - OnDispenserBonusReceived(ResourceDispenser, BasePlayer, Item)
1 parent 47769e5 commit 978d3ed

1 file changed

Lines changed: 85 additions & 0 deletions

File tree

resources/Rust.opj

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20099,6 +20099,91 @@
2009920099
"MSILHash": "4UX5r03EqmiQCKgp0C9qRR44ntx2+fpTkb4/sfJaUwA=",
2010020100
"HookCategory": "NPC"
2010120101
}
20102+
},
20103+
{
20104+
"Type": "Simple",
20105+
"Hook": {
20106+
"InjectionIndex": 145,
20107+
"ReturnBehavior": 0,
20108+
"ArgumentBehavior": 4,
20109+
"ArgumentString": "this, a0, l7",
20110+
"HookTypeName": "Simple",
20111+
"Name": "OnDispenserGathered",
20112+
"HookName": "OnDispenserGathered",
20113+
"AssemblyName": "Assembly-CSharp.dll",
20114+
"TypeName": "ResourceDispenser",
20115+
"Flagged": false,
20116+
"Signature": {
20117+
"Exposure": 0,
20118+
"Name": "GiveResourceFromItem",
20119+
"ReturnType": "System.Void",
20120+
"Parameters": [
20121+
"BasePlayer",
20122+
"ItemAmount",
20123+
"System.Single",
20124+
"System.Single",
20125+
"AttackEntity"
20126+
]
20127+
},
20128+
"MSILHash": "tAPg+c7XxZEuYwF3ZD06hCpA35NJnM4Nj4PQxApxPvE=",
20129+
"BaseHookName": "OnDispenserGather",
20130+
"HookCategory": "Resource"
20131+
}
20132+
},
20133+
{
20134+
"Type": "Simple",
20135+
"Hook": {
20136+
"InjectionIndex": 84,
20137+
"ReturnBehavior": 0,
20138+
"ArgumentBehavior": 4,
20139+
"ArgumentString": "this, a0, l4",
20140+
"HookTypeName": "Simple",
20141+
"Name": "OnCollectiblePickedup",
20142+
"HookName": "OnCollectiblePickedup",
20143+
"AssemblyName": "Assembly-CSharp.dll",
20144+
"TypeName": "CollectibleEntity",
20145+
"Flagged": false,
20146+
"Signature": {
20147+
"Exposure": 2,
20148+
"Name": "DoPickup",
20149+
"ReturnType": "System.Void",
20150+
"Parameters": [
20151+
"BasePlayer",
20152+
"System.Boolean"
20153+
]
20154+
},
20155+
"MSILHash": "D7lqXOdYvb5/1WNQc+HIDbbkL1MnizNsBQVcmDLsYUg=",
20156+
"BaseHookName": "OnCollectiblePickup",
20157+
"HookCategory": "Resource"
20158+
}
20159+
},
20160+
{
20161+
"Type": "Simple",
20162+
"Hook": {
20163+
"InjectionIndex": 74,
20164+
"ReturnBehavior": 0,
20165+
"ArgumentBehavior": 4,
20166+
"ArgumentString": "this, a0, l4",
20167+
"HookTypeName": "Simple",
20168+
"Name": "OnDispenserBonusReceived",
20169+
"HookName": "OnDispenserBonusReceived",
20170+
"AssemblyName": "Assembly-CSharp.dll",
20171+
"TypeName": "ResourceDispenser",
20172+
"Flagged": false,
20173+
"Signature": {
20174+
"Exposure": 2,
20175+
"Name": "AssignFinishBonus",
20176+
"ReturnType": "System.Void",
20177+
"Parameters": [
20178+
"BasePlayer",
20179+
"System.Single",
20180+
"AttackEntity"
20181+
]
20182+
},
20183+
"MSILHash": "NbzfN3g0717IEbl3mPHG8vYbopxdqKi38ipqoPt6A/4=",
20184+
"BaseHookName": "OnDispenserBonus",
20185+
"HookCategory": "Resource"
20186+
}
2010220187
}
2010320188
],
2010420189
"Modifiers": [

0 commit comments

Comments
 (0)