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
CommonDropWithRerolls.cs
Go to the documentation of this file.
1using System;
6
8{
9 [global::Cpp2ILInjected.Token(Token = "0x200087C")]
11 {
12 [global::Cpp2ILInjected.Token(Token = "0x60043F7")]
13 [global::Cpp2ILInjected.Address(RVA = "0x7A6A60", Offset = "0x7A6A60", Length = "0x2C")]
14 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
15 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CommonDrop), Member = ".ctor", MemberParameters = new object[]
16 {
17 typeof(int),
18 typeof(int),
19 typeof(int),
20 typeof(int),
21 typeof(int)
22 }, ReturnType = typeof(void))]
24 {
25 throw null;
26 }
27
28 [global::Cpp2ILInjected.Token(Token = "0x60043F8")]
29 [global::Cpp2ILInjected.Address(RVA = "0x7A83FC", Offset = "0x7A83FC", Length = "0xB8")]
30 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
31 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
32 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Player), Member = "RollLuck", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(int))]
33 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UnifiedRandom), Member = "Next", MemberParameters = new object[]
34 {
35 typeof(int),
36 typeof(int)
37 }, ReturnType = typeof(int))]
38 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CommonCode), Member = "DropItemFromNPC", MemberParameters = new object[]
39 {
40 typeof(NPC),
41 typeof(int),
42 typeof(int),
43 typeof(bool)
44 }, ReturnType = typeof(void))]
46 {
47 throw null;
48 }
49
50 [global::Cpp2ILInjected.Token(Token = "0x60043F9")]
51 [global::Cpp2ILInjected.Address(RVA = "0x7A84B4", Offset = "0x7A84B4", Length = "0x174")]
52 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
53 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
54 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DropRateInfo), Member = ".ctor", MemberParameters = new object[]
55 {
56 typeof(int),
57 typeof(int),
58 typeof(int),
59 typeof(float),
61 }, ReturnType = typeof(void))]
62 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Chains), Member = "ReportDroprates", MemberParameters = new object[]
63 {
65 typeof(float),
67 typeof(DropRateInfoChainFeed)
68 }, ReturnType = typeof(void))]
69 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
71 {
72 throw null;
73 }
74
75 [global::Cpp2ILInjected.Token(Token = "0x40081C4")]
76 [global::Cpp2ILInjected.FieldOffset(Offset = "0x30")]
77 public int timesToRoll;
78 }
79}
class f__AnonymousType0<< Count > j__TPar
override void ReportDroprates(List< DropRateInfo > drops, DropRateInfoChainFeed ratesInfo)
override ItemDropAttemptResult TryDroppingItem(DropAttemptInfo info)
CommonDropWithRerolls(int itemId, int chanceDenominator, int amountDroppedMinimum, int amountDroppedMaximum, int rerolls)