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
BirthdayParty.cs
Go to the documentation of this file.
1using System;
5
7{
8 // Token: 0x02000A4C RID: 2636
9 public class BirthdayParty
10 {
11 // Token: 0x17000893 RID: 2195
12 // (get) Token: 0x06004DA1 RID: 19873 RVA: 0x00273D90 File Offset: 0x00271F90
13 public static bool PartyIsUp
14 {
15 get
16 {
17 if (!true)
18 {
19 }
20 return true;
21 }
22 }
23
24 // Token: 0x06004DA2 RID: 19874 RVA: 0x00273DA4 File Offset: 0x00271FA4
25 public static void CheckMorning()
26 {
27 if (!true)
28 {
29 }
31 }
32
33 // Token: 0x06004DA3 RID: 19875 RVA: 0x00273DBC File Offset: 0x00271FBC
34 public static void CheckNight()
35 {
36 if (!true)
37 {
38 }
39 }
40
41 // Token: 0x06004DA4 RID: 19876 RVA: 0x00273DE8 File Offset: 0x00271FE8
42 private static bool CanNPCParty(NPC n)
43 {
44 int num = 1;
45 if (num == 0 || num == 0 || num != 0)
46 {
47 return;
48 }
49 }
50
51 // Token: 0x06004DA5 RID: 19877 RVA: 0x00273E04 File Offset: 0x00272004
52 private static void NaturalAttempt()
53 {
54 int num = 1;
55 if (num == 0)
56 {
57 }
59 if (num == 0)
60 {
61 }
62 bool flag = NPC.AnyNPCs(208);
63 if (num == 0)
64 {
65 }
66 }
67
68 // Token: 0x06004DA6 RID: 19878 RVA: 0x00273ED8 File Offset: 0x002720D8
69 public static void ToggleManualParty()
70 {
71 if (!true)
72 {
73 }
76 }
77
78 // Token: 0x06004DA7 RID: 19879 RVA: 0x00273F10 File Offset: 0x00272110
79 private static void CheckForAchievement()
80 {
81 if (!true)
82 {
83 }
86 }
87
88 // Token: 0x06004DA8 RID: 19880 RVA: 0x00273F30 File Offset: 0x00272130
89 public static void WorldClear()
90 {
91 if (!true)
92 {
93 }
94 }
95
96 // Token: 0x06004DA9 RID: 19881 RVA: 0x00273F40 File Offset: 0x00272140
97 public static void UpdateTime()
98 {
99 int num = 1;
100 if (num == 0)
101 {
102 }
104 if (num == 0)
105 {
106 }
108 if (num == 0)
109 {
110 }
112 }
113
114 // Token: 0x06004DAA RID: 19882 RVA: 0x00273F98 File Offset: 0x00272198
116 {
117 }
118
119 // Token: 0x06004DAB RID: 19883 RVA: 0x00273FAC File Offset: 0x002721AC
120 // Note: this type is marked as 'beforefieldinit'.
122 {
123 }
124
125 // Token: 0x0400869B RID: 34459
126 public static bool ManualParty;
127
128 // Token: 0x0400869C RID: 34460
129 public static bool GenuineParty;
130
131 // Token: 0x0400869D RID: 34461
132 public static int PartyDaysOnCooldown;
133
134 // Token: 0x0400869E RID: 34462
136
137 // Token: 0x0400869F RID: 34463
138 private static bool _wasCelebrating;
139
140 // Token: 0x02000A4D RID: 2637
142 [Serializable]
143 private sealed class <>c
144 {
145 // Token: 0x06004DAC RID: 19884 RVA: 0x00273FBC File Offset: 0x002721BC
146 // Note: this type is marked as 'beforefieldinit'.
147 static <>c()
148 {
149 }
150
151 // Token: 0x06004DAD RID: 19885 RVA: 0x00273FCC File Offset: 0x002721CC
152 public <>c()
153 {
154 }
155
156 // Token: 0x06004DAE RID: 19886 RVA: 0x00273FE0 File Offset: 0x002721E0
157 internal int <NaturalAttempt>b__10_0(NPC i)
158 {
159 if (!true)
160 {
161 }
162 int num;
163 return num;
164 }
165
166 // Token: 0x040086A0 RID: 34464
167 public static readonly BirthdayParty.<>c <>9;
168
169 // Token: 0x040086A1 RID: 34465
170 public static Func<NPC, int> <>9__10_0;
171 }
172 }
173}
class f__AnonymousType0<< Count > j__TPar
static bool NetHostOnly
Definition Main.cs:5482
static bool NetClientOnly
Definition Main.cs:5407
static bool AnyNPCs(int Type)
Definition NPC.cs:7102