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
CustomCurrencySingleCoin.cs
Go to the documentation of this file.
1using System;
3using System.Linq;
10
12{
13 [global::Cpp2ILInjected.Token(Token = "0x2000A5B")]
15 {
16 [global::Cpp2ILInjected.Token(Token = "0x6004E64")]
17 [global::Cpp2ILInjected.Address(RVA = "0x8DF384", Offset = "0x8DF384", Length = "0xAC")]
18 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
19 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CustomCurrencyManager), Member = "Initialize", ReturnType = typeof(void))]
20 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
21 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Color), Member = ".ctor", MemberParameters = new object[]
22 {
23 typeof(int),
24 typeof(int),
25 typeof(int)
26 }, ReturnType = typeof(void))]
27 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CustomCurrencySystem), Member = ".ctor", ReturnType = typeof(void))]
28 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CustomCurrencySystem), Member = "Include", MemberParameters = new object[]
29 {
30 typeof(int),
31 typeof(int)
32 }, ReturnType = typeof(void))]
33 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
35 {
36 throw null;
37 }
38
39 [global::Cpp2ILInjected.Token(Token = "0x6004E65")]
40 [global::Cpp2ILInjected.Address(RVA = "0x8DF430", Offset = "0x8DF430", Length = "0x2E8")]
41 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
42 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
43 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CustomCurrencySystem), Member = "ItemCacheCreate", MemberParameters = new object[] { typeof(List<Item[]>) }, ReturnType = typeof(List<Tuple<Point, Item>>))]
44 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<Point>), Member = "get_Item", MemberParameters = new object[] { typeof(int) }, ReturnType = "T")]
45 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<object>), Member = "get_Item", MemberParameters = new object[] { typeof(int) }, ReturnType = "T")]
46 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<Point>), Member = "Remove", MemberParameters = new object[] { typeof(Point) }, ReturnType = typeof(bool))]
47 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CustomCurrencySystem), Member = "ItemCacheRestore", MemberParameters = new object[]
48 {
50 typeof(List<Item[]>)
51 }, ReturnType = typeof(void))]
52 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
57
58 [global::Cpp2ILInjected.Token(Token = "0x6004E66")]
59 [global::Cpp2ILInjected.Address(RVA = "0x8DF718", Offset = "0x8DF718", Length = "0x50C")]
60 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
61 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
62 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<int, int>), Member = "get_Keys", ReturnType = "KeyCollection<TKey, TValue>")]
63 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Enumerable[]), Member = "ElementAt", MemberTypeParameters = new object[] { typeof(int) }, MemberParameters = new object[]
64 {
66 typeof(int)
67 }, ReturnType = "TSource")]
68 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "LoadItem", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
69 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ChatManager), Member = "GetStringSize", MemberParameters = new object[]
70 {
72 typeof(string),
74 typeof(float)
75 }, ReturnType = typeof(Vector2))]
76 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = ".ctor", MemberParameters = new object[]
77 {
78 typeof(float),
79 typeof(float)
80 }, ReturnType = typeof(void))]
81 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "Size", MemberParameters = new object[] { typeof(Texture2D) }, ReturnType = typeof(Vector2))]
82 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = "op_Division", MemberParameters = new object[]
83 {
85 typeof(float)
86 }, ReturnType = typeof(Vector2))]
87 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SpriteBatch), Member = "Draw", MemberParameters = new object[]
88 {
93 typeof(float),
95 typeof(float),
97 typeof(float)
98 }, ReturnType = typeof(void))]
99 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(long), Member = "ToString", ReturnType = typeof(string))]
100 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = ".ctor", MemberParameters = new object[] { typeof(float) }, ReturnType = typeof(void))]
101 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "DrawBorderStringFourWay", MemberParameters = new object[]
102 {
105 typeof(string),
106 typeof(float),
107 typeof(float),
108 typeof(Color),
109 typeof(Color),
111 typeof(float)
112 }, ReturnType = typeof(void))]
113 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 24)]
114 public override void DrawSavingsMoney(SpriteBatch sb, string text, float shopx, float shopy, long totalCoins, bool horizontal = false)
115 {
116 throw null;
117 }
118
119 [global::Cpp2ILInjected.Token(Token = "0x6004E67")]
120 [global::Cpp2ILInjected.Address(RVA = "0x8DFC24", Offset = "0x8DFC24", Length = "0x2D8")]
121 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
122 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
123 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Color), Member = "op_Multiply", MemberParameters = new object[]
124 {
125 typeof(Color),
126 typeof(float)
127 }, ReturnType = typeof(Color))]
128 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Language), Member = "GetTextValue", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
129 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "ToLower", ReturnType = typeof(string))]
130 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Format", MemberParameters = new object[]
131 {
132 typeof(string),
133 typeof(object[])
134 }, ReturnType = typeof(string))]
135 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 24)]
136 public override void GetPriceText(string[] lines, ref int currentLine, long price)
137 {
138 throw null;
139 }
140
141 [global::Cpp2ILInjected.Token(Token = "0x40086F6")]
142 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
143 public float CurrencyDrawScale;
144
145 [global::Cpp2ILInjected.Token(Token = "0x40086F7")]
146 [global::Cpp2ILInjected.FieldOffset(Offset = "0x28")]
147 public string CurrencyTextKey;
148
149 [global::Cpp2ILInjected.Token(Token = "0x40086F8")]
150 [global::Cpp2ILInjected.FieldOffset(Offset = "0x30")]
152 }
153}
class f__AnonymousType0<< Count > j__TPar
CustomCurrencySingleCoin(int coinItemID, long currencyCap)
override void GetPriceText(string[] lines, ref int currentLine, long price)
override bool TryPurchasing(long price, List< Item[]> inv, List< Point > slotCoins, List< Point > slotsEmpty, List< Point > slotEmptyBank, List< Point > slotEmptyBank2, List< Point > slotEmptyBank3, List< Point > slotEmptyBank4)
override void DrawSavingsMoney(SpriteBatch sb, string text, float shopx, float shopy, long totalCoins, bool horizontal=false)