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
RecipeGroup.cs
Go to the documentation of this file.
1using System;
5
6namespace Terraria
7{
8 [global::Cpp2ILInjected.Token(Token = "0x2000454")]
9 public class RecipeGroup
10 {
11 [global::Cpp2ILInjected.Token(Token = "0x6002985")]
12 [global::Cpp2ILInjected.Address(RVA = "0x115D78C", Offset = "0x115D78C", Length = "0xA0")]
13 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Recipe), Member = "SetupRecipeGroups", ReturnType = typeof(void))]
14 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 24)]
15 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
16 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(HashSet<int>), Member = ".ctor", MemberParameters = new object[] { typeof(IEnumerable<int>) }, ReturnType = typeof(void))]
17 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
18 public RecipeGroup(Func<string> getName, params int[] validItems)
19 {
20 throw null;
21 }
22
23 [global::Cpp2ILInjected.Token(Token = "0x6002986")]
24 [global::Cpp2ILInjected.Address(RVA = "0x115D82C", Offset = "0x115D82C", Length = "0xD8")]
25 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Recipe), Member = "SetupRecipeGroups", ReturnType = typeof(void))]
26 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 24)]
27 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<int, object>), Member = "Add", MemberParameters = new object[]
28 {
29 typeof(int),
30 typeof(object)
31 }, ReturnType = typeof(void))]
32 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<object, int>), Member = "Add", MemberParameters = new object[]
33 {
34 typeof(object),
35 typeof(int)
36 }, ReturnType = typeof(void))]
37 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
38 public static int RegisterGroup(string name, RecipeGroup rec)
39 {
40 throw null;
41 }
42
43 [global::Cpp2ILInjected.Token(Token = "0x6002987")]
44 [global::Cpp2ILInjected.Address(RVA = "0x115D904", Offset = "0x115D904", Length = "0x178")]
45 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
46 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Recipe), Member = "AddFakeCountsForItemGroups", ReturnType = typeof(void))]
47 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
48 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(HashSet<int>), Member = "GetEnumerator", ReturnType = "Enumerator<T>")]
49 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(HashSet<int>.Enumerator), Member = "MoveNext", ReturnType = typeof(bool))]
50 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<int, int>), Member = "TryGetValue", MemberParameters = new object[]
51 {
52 typeof(int),
53 typeof(ref int)
54 }, ReturnType = typeof(bool))]
55 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(HashSet<int>.Enumerator), Member = "Dispose", ReturnType = typeof(void))]
56 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 11)]
58 {
59 throw null;
60 }
61
62 [global::Cpp2ILInjected.Token(Token = "0x6002988")]
63 [global::Cpp2ILInjected.Address(RVA = "0x115DA7C", Offset = "0x115DA7C", Length = "0x14")]
64 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
65 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
66 public int GetGroupFakeItemId()
67 {
68 throw null;
69 }
70
71 // Note: this type is marked as 'beforefieldinit'.
72 [global::Cpp2ILInjected.Token(Token = "0x6002989")]
73 [global::Cpp2ILInjected.Address(RVA = "0x115DA90", Offset = "0x115DA90", Length = "0xDC")]
74 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
75 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<int, object>), Member = ".ctor", ReturnType = typeof(void))]
76 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<object, int>), Member = ".ctor", ReturnType = typeof(void))]
77 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 7)]
78 static RecipeGroup()
79 {
80 throw null;
81 }
82
83 [global::Cpp2ILInjected.Token(Token = "0x40036B4")]
84 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
85 public Func<string> GetText;
86
87 [global::Cpp2ILInjected.Token(Token = "0x40036B5")]
88 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
90
91 [global::Cpp2ILInjected.Token(Token = "0x40036B6")]
92 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
93 public int IconicItemId;
94
95 [global::Cpp2ILInjected.Token(Token = "0x40036B7")]
96 [global::Cpp2ILInjected.FieldOffset(Offset = "0x24")]
97 public int RegisteredId;
98
99 [global::Cpp2ILInjected.Token(Token = "0x40036B8")]
101
102 [global::Cpp2ILInjected.Token(Token = "0x40036B9")]
104
105 [global::Cpp2ILInjected.Token(Token = "0x40036BA")]
106 public static int nextRecipeGroupIndex;
107 }
108}
class f__AnonymousType0<< Count > j__TPar
static int nextRecipeGroupIndex
int CountUsableItems(Dictionary< int, int > itemStacksAvailable)
HashSet< int > ValidItems
static Dictionary< int, RecipeGroup > recipeGroups
static Dictionary< string, int > recipeGroupIDs
Func< string > GetText
static int RegisterGroup(string name, RecipeGroup rec)
RecipeGroup(Func< string > getName, params int[] validItems)