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
DontStarveSeed.cs
Go to the documentation of this file.
1using System;
5
7{
8 [global::Cpp2ILInjected.Token(Token = "0x20007B8")]
9 public class DontStarveSeed
10 {
11 [global::Cpp2ILInjected.Token(Token = "0x6004064")]
12 [global::Cpp2ILInjected.Address(RVA = "0x76DF8C", Offset = "0x76DF8C", Length = "0x1B4")]
13 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
14 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "SetBackColor", MemberParameters = new object[]
15 {
19 }, ReturnType = typeof(void))]
20 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
21 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "Remap", MemberParameters = new object[]
22 {
23 typeof(float),
24 typeof(float),
25 typeof(float),
26 typeof(float),
27 typeof(float),
28 typeof(bool)
29 }, ReturnType = typeof(float))]
30 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Color), Member = "Lerp", MemberParameters = new object[]
31 {
34 typeof(float)
35 }, ReturnType = typeof(Color))]
36 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 9)]
38 {
39 throw null;
40 }
41
42 [global::Cpp2ILInjected.Token(Token = "0x6004065")]
43 [global::Cpp2ILInjected.Address(RVA = "0x76E140", Offset = "0x76E140", Length = "0x14C")]
44 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
45 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "SetBackColor", MemberParameters = new object[]
46 {
50 }, ReturnType = typeof(void))]
51 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
52 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "Max", MemberTypeParameters = new object[] { "T" }, MemberParameters = new object[] { "T[]" }, ReturnType = "T")]
53 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 10)]
55 {
56 throw null;
57 }
58
59 [global::Cpp2ILInjected.Token(Token = "0x6004066")]
60 [global::Cpp2ILInjected.Address(RVA = "0x76E28C", Offset = "0x76E28C", Length = "0xF0")]
61 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "SetBackColor", MemberParameters = new object[]
62 {
66 }, ReturnType = typeof(void))]
67 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
68 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Math), Member = "Min", MemberParameters = new object[]
69 {
70 typeof(int),
71 typeof(int)
72 }, ReturnType = typeof(int))]
73 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
74 public static void FixBiomeDarkness(ref Color bgColor, ref int R, ref int G, ref int B)
75 {
76 throw null;
77 }
78
79 [global::Cpp2ILInjected.Token(Token = "0x6004067")]
80 [global::Cpp2ILInjected.Address(RVA = "0x76E37C", Offset = "0x76E37C", Length = "0x74")]
81 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "Initialize", ReturnType = typeof(void))]
82 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
83 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Action<object>), Member = ".ctor", MemberParameters = new object[]
84 {
85 typeof(object),
87 }, ReturnType = typeof(void))]
88 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Player.Hooks), Member = "add_OnEnterWorld", MemberParameters = new object[] { typeof(Action<Player>) }, ReturnType = typeof(void))]
89 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
90 public static void Initialize()
91 {
92 throw null;
93 }
94
95 [global::Cpp2ILInjected.Token(Token = "0x6004068")]
96 [global::Cpp2ILInjected.Address(RVA = "0x76E3F0", Offset = "0x76E3F0", Length = "0xC")]
97 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
98 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Player), Member = "UpdateStarvingState", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
99 private static void Hook_OnEnterWorld(Player player)
100 {
101 throw null;
102 }
103
104 [global::Cpp2ILInjected.Token(Token = "0x6004069")]
105 [global::Cpp2ILInjected.Address(RVA = "0x76E3FC", Offset = "0x76E3FC", Length = "0x8")]
106 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
107 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
109 {
110 throw null;
111 }
112 }
113}
class f__AnonymousType0<< Count > j__TPar
static void ModifyNightColor(ref Color bgColorToSet, ref Color moonColor)
static void FixBiomeDarkness(ref Color bgColor, ref int R, ref int G, ref int B)
static void Hook_OnEnterWorld(Player player)
static void ModifyMinimumLightColorAtNight(ref byte minimalLight)