terraria-cpp2il-methodrecon
v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches
DontStarveSeed.cs
Go to the documentation of this file.
1
using
System
;
2
using
Microsoft.Xna.Framework.Graphics
;
3
4
namespace
Terraria.GameContent
5
{
6
// Token: 0x020007B8 RID: 1976
7
public
class
DontStarveSeed
8
{
9
// Token: 0x06004064 RID: 16484 RVA: 0x00243200 File Offset: 0x00241400
10
public
static
void
ModifyNightColor
(
Color
bgColorToSet
,
Color
moonColor
)
11
{
12
if
(!
true
)
13
{
14
}
15
if
(!
true
)
16
{
17
}
18
}
19
20
// Token: 0x06004065 RID: 16485 RVA: 0x0024321C File Offset: 0x0024141C
21
public
static
void
ModifyMinimumLightColorAtNight
(
byte
minimalLight
)
22
{
23
if
(!
true
)
24
{
25
}
26
if
(!
true
)
27
{
28
}
29
minimalLight.m_value
= 1;
30
if
(!
true
)
31
{
32
}
33
if
(
true
)
34
{
35
byte
b;
36
minimalLight.m_value
= b;
37
}
38
}
39
40
// Token: 0x06004066 RID: 16486 RVA: 0x00243244 File Offset: 0x00241444
41
public
static
void
FixBiomeDarkness
(
Color
bgColor
,
int
R
,
int
G
,
int
B
)
42
{
43
if
(!
true
)
44
{
45
}
46
if
(
true
)
47
{
48
byte
r =
bgColor
.R;
49
byte
g =
bgColor
.G;
50
byte
b =
bgColor
.B;
51
}
52
}
53
54
// Token: 0x06004067 RID: 16487 RVA: 0x00243270 File Offset: 0x00241470
55
public
static
void
Initialize
()
56
{
57
}
58
59
// Token: 0x06004068 RID: 16488 RVA: 0x00243280 File Offset: 0x00241480
60
private
static
void
Hook_OnEnterWorld
(
Player
player)
61
{
62
long
num = 0
L
;
63
player.
UpdateStarvingState
(num != 0
L
);
64
}
65
66
// Token: 0x06004069 RID: 16489 RVA: 0x00243298 File Offset: 0x00241498
67
public
DontStarveSeed
()
68
{
69
}
70
}
71
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
Terraria.GameContent.DontStarveSeed.Initialize
static void Initialize()
Definition
DontStarveSeed.cs:55
Terraria.GameContent.DontStarveSeed.ModifyMinimumLightColorAtNight
static void ModifyMinimumLightColorAtNight(byte minimalLight)
Definition
DontStarveSeed.cs:21
Terraria.GameContent.DontStarveSeed.ModifyNightColor
static void ModifyNightColor(Color bgColorToSet, Color moonColor)
Definition
DontStarveSeed.cs:10
Terraria.GameContent.DontStarveSeed.Hook_OnEnterWorld
static void Hook_OnEnterWorld(Player player)
Definition
DontStarveSeed.cs:60
Terraria.GameContent.DontStarveSeed.DontStarveSeed
DontStarveSeed()
Definition
DontStarveSeed.cs:67
Terraria.GameContent.DontStarveSeed.FixBiomeDarkness
static void FixBiomeDarkness(Color bgColor, int R, int G, int B)
Definition
DontStarveSeed.cs:41
Terraria.GameContent.DontStarveSeed
Definition
DontStarveSeed.cs:8
Terraria.Player.UpdateStarvingState
void UpdateStarvingState(bool withEmote)
Definition
Player.cs:4020
Terraria.Player
Definition
Player.cs:33
Microsoft.Xna.Framework.Graphics
Definition
Blend.cs:4
System.ConsoleKey.B
@ B
System.ConsoleKey.L
@ L
System.ConsoleKey.G
@ G
System.ConsoleKey.R
@ R
System
Definition
__ComObject.cs:4
Terraria.GameContent
Definition
AchievementsHelper.cs:7
Microsoft.Xna.Framework.Graphics.Color
Definition
Color.cs:12
source
Terraria
GameContent
DontStarveSeed.cs
Generated by
1.10.0