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
ItemRarity.cs
Go to the documentation of this file.
1using System;
6
8{
9 [global::Cpp2ILInjected.Token(Token = "0x2000A61")]
10 public class ItemRarity
11 {
12 [global::Cpp2ILInjected.Token(Token = "0x6004E82")]
13 [global::Cpp2ILInjected.Address(RVA = "0x8E2F94", Offset = "0x8E2F94", Length = "0x240")]
14 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "Initialize_AlmostEverything", ReturnType = typeof(void))]
15 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
16 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<int, Color>), Member = "Clear", ReturnType = typeof(void))]
17 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<int, Color>), Member = "Add", MemberParameters = new object[]
18 {
19 typeof(int),
21 }, ReturnType = typeof(void))]
22 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
23 public static void Initialize()
24 {
25 throw null;
26 }
27
28 [global::Cpp2ILInjected.Token(Token = "0x6004E83")]
29 [global::Cpp2ILInjected.Address(RVA = "0x8E31D4", Offset = "0x8E31D4", Length = "0x11C")]
30 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.UI.Chat.ItemTagHandler.ItemSnippet", Member = ".ctor", MemberParameters = new object[] { typeof(Item) }, ReturnType = typeof(void))]
31 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
32 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Color), Member = ".ctor", MemberParameters = new object[]
33 {
34 typeof(int),
35 typeof(int),
36 typeof(int),
37 typeof(int)
38 }, ReturnType = typeof(void))]
39 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<int, Color>), Member = "ContainsKey", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(bool))]
40 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<int, Color>), Member = "get_Item", MemberParameters = new object[] { typeof(int) }, ReturnType = "TValue")]
41 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 7)]
42 public static Color GetColor(int rarity)
43 {
44 throw null;
45 }
46
47 [global::Cpp2ILInjected.Token(Token = "0x6004E84")]
48 [global::Cpp2ILInjected.Address(RVA = "0x8E32F0", Offset = "0x8E32F0", Length = "0x8")]
49 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
50 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
51 public ItemRarity()
52 {
53 throw null;
54 }
55
56 // Note: this type is marked as 'beforefieldinit'.
57 [global::Cpp2ILInjected.Token(Token = "0x6004E85")]
58 [global::Cpp2ILInjected.Address(RVA = "0x8E32F8", Offset = "0x8E32F8", Length = "0x8C")]
59 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
60 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<int, Color>), Member = ".ctor", ReturnType = typeof(void))]
61 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
62 static ItemRarity()
63 {
64 throw null;
65 }
66
67 [global::Cpp2ILInjected.Token(Token = "0x40087A7")]
69 }
70}
class f__AnonymousType0<< Count > j__TPar
static Color GetColor(int rarity)
Definition ItemRarity.cs:42
static Dictionary< int, Color > _rarities
Definition ItemRarity.cs:68