Skip to content

Commit d332287

Browse files
IIIaKaMrBlue
authored andcommitted
Add OnAnimalDungProduce(d) hooks
- OnAnimalDungProduce(BaseRidableAnimal) - OnAnimalDungProduced(BaseRidableAnimal, Item)
1 parent 6ca4691 commit d332287

File tree

1 file changed

+80
-0
lines changed

1 file changed

+80
-0
lines changed

resources/Rust.opj

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21397,6 +21397,86 @@
2139721397
"MSILHash": "uJwLofe7AuaMTZc+FzCvNjAEcMI9cltmQR7KGd945oA=",
2139821398
"HookCategory": "Pet"
2139921399
}
21400+
},
21401+
{
21402+
"Type": "Simple",
21403+
"Hook": {
21404+
"InjectionIndex": 6,
21405+
"ReturnBehavior": 4,
21406+
"ArgumentBehavior": 4,
21407+
"ArgumentString": "this",
21408+
"HookTypeName": "Simple",
21409+
"Name": "OnAnimalDungProduce [BaseRidableAnimal]",
21410+
"HookName": "OnAnimalDungProduce",
21411+
"AssemblyName": "Assembly-CSharp.dll",
21412+
"TypeName": "BaseRidableAnimal",
21413+
"Flagged": false,
21414+
"Signature": {
21415+
"Exposure": 0,
21416+
"Name": "DoDung",
21417+
"ReturnType": "System.Void",
21418+
"Parameters": []
21419+
},
21420+
"MSILHash": "A8OVPJZPZYLqWqjNJj65EhbyrnUs4tpfVj4cYwGq5NI=",
21421+
"HookCategory": "Animal"
21422+
}
21423+
},
21424+
{
21425+
"Type": "Modify",
21426+
"Hook": {
21427+
"InjectionIndex": 21,
21428+
"RemoveCount": 0,
21429+
"Instructions": [
21430+
{
21431+
"OpCode": "stloc_1",
21432+
"OpType": "None"
21433+
},
21434+
{
21435+
"OpCode": "ldloc_1",
21436+
"OpType": "None"
21437+
}
21438+
],
21439+
"HookTypeName": "Modify",
21440+
"Name": "OnAnimalDungProduced [BaseRidableAnimal] [Variable]",
21441+
"HookName": "OnAnimalDungProduced",
21442+
"HookDescription": "Saving the created Item to a variable for its subsequent transfer in a hook.",
21443+
"AssemblyName": "Assembly-CSharp.dll",
21444+
"TypeName": "BaseRidableAnimal",
21445+
"Flagged": false,
21446+
"Signature": {
21447+
"Exposure": 0,
21448+
"Name": "DoDung",
21449+
"ReturnType": "System.Void",
21450+
"Parameters": []
21451+
},
21452+
"MSILHash": "A8OVPJZPZYLqWqjNJj65EhbyrnUs4tpfVj4cYwGq5NI=",
21453+
"BaseHookName": "OnAnimalDungProduce [BaseRidableAnimal]",
21454+
"HookCategory": "Animal"
21455+
}
21456+
},
21457+
{
21458+
"Type": "Simple",
21459+
"Hook": {
21460+
"InjectionIndex": 46,
21461+
"ReturnBehavior": 0,
21462+
"ArgumentBehavior": 4,
21463+
"ArgumentString": "this, l1",
21464+
"HookTypeName": "Simple",
21465+
"Name": "OnAnimalDungProduced [BaseRidableAnimal]",
21466+
"HookName": "OnAnimalDungProduced",
21467+
"AssemblyName": "Assembly-CSharp.dll",
21468+
"TypeName": "BaseRidableAnimal",
21469+
"Flagged": false,
21470+
"Signature": {
21471+
"Exposure": 0,
21472+
"Name": "DoDung",
21473+
"ReturnType": "System.Void",
21474+
"Parameters": []
21475+
},
21476+
"MSILHash": "A8OVPJZPZYLqWqjNJj65EhbyrnUs4tpfVj4cYwGq5NI=",
21477+
"BaseHookName": "OnAnimalDungProduced [BaseRidableAnimal] [Variable]",
21478+
"HookCategory": "Animal"
21479+
}
2140021480
}
2140121481
],
2140221482
"Modifiers": [

0 commit comments

Comments
 (0)