terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
ItemDropWithConditionRule.cs
Go to the documentation of this file.
1using System;
5
7{
8 [global::Cpp2ILInjected.Token(Token = "0x2000883")]
10 {
11 [global::Cpp2ILInjected.Token(Token = "0x6004422")]
12 [global::Cpp2ILInjected.Address(RVA = "0x7A9CD4", Offset = "0x7A9CD4", Length = "0x2C")]
13 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ItemDropRule), Member = "ByCondition", MemberParameters = new object[]
14 {
16 typeof(int),
17 typeof(int),
18 typeof(int),
19 typeof(int),
20 typeof(int)
21 }, ReturnType = typeof(IItemDropRule))]
22 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ItemDropRule), Member = "Food", MemberParameters = new object[]
23 {
24 typeof(int),
25 typeof(int),
26 typeof(int),
27 typeof(int)
28 }, ReturnType = typeof(IItemDropRule))]
29 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
30 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CommonDrop), Member = ".ctor", MemberParameters = new object[]
31 {
32 typeof(int),
33 typeof(int),
34 typeof(int),
35 typeof(int),
36 typeof(int)
37 }, ReturnType = typeof(void))]
42
43 [global::Cpp2ILInjected.Token(Token = "0x6004423")]
44 [global::Cpp2ILInjected.Address(RVA = "0x7A9D00", Offset = "0x7A9D00", Length = "0xCC")]
45 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
46 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
47 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
48 public override bool CanDrop(DropAttemptInfo info)
49 {
50 throw null;
51 }
52
53 [global::Cpp2ILInjected.Token(Token = "0x6004424")]
54 [global::Cpp2ILInjected.Address(RVA = "0x7A9DCC", Offset = "0x7A9DCC", Length = "0x15C")]
55 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
56 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
57 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DropRateInfoChainFeed), Member = "With", MemberParameters = new object[] { typeof(float) }, ReturnType = typeof(DropRateInfoChainFeed))]
58 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DropRateInfoChainFeed), Member = "AddCondition", MemberParameters = new object[] { typeof(IItemDropRuleCondition) }, ReturnType = typeof(void))]
59 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DropRateInfo), Member = ".ctor", MemberParameters = new object[]
60 {
61 typeof(int),
62 typeof(int),
63 typeof(int),
64 typeof(float),
66 }, ReturnType = typeof(void))]
67 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Chains), Member = "ReportDroprates", MemberParameters = new object[]
68 {
70 typeof(float),
72 typeof(DropRateInfoChainFeed)
73 }, ReturnType = typeof(void))]
74 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
76 {
77 throw null;
78 }
79
80 [global::Cpp2ILInjected.Token(Token = "0x40081D3")]
81 [global::Cpp2ILInjected.FieldOffset(Offset = "0x30")]
83 }
84}
class f__AnonymousType0<< Count > j__TPar
override void ReportDroprates(List< DropRateInfo > drops, DropRateInfoChainFeed ratesInfo)
ItemDropWithConditionRule(int itemId, int chanceDenominator, int amountDroppedMinimum, int amountDroppedMaximum, IItemDropRuleCondition condition, int chanceNumerator=1)