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
AmbienceServer.cs
Go to the documentation of this file.
1using System;
3using System.Linq;
9using Terraria.Net;
11
13{
14 [global::Cpp2ILInjected.Token(Token = "0x2000AFB")]
15 public class AmbienceServer
16 {
17 [global::Cpp2ILInjected.Token(Token = "0x600523E")]
18 [global::Cpp2ILInjected.Address(RVA = "0x93B8B4", Offset = "0x93B8B4", Length = "0xA0")]
19 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
20 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AmbienceServer.<>c), Member = "<.ctor>b__10_0", ReturnType = typeof(bool))]
21 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AmbienceServer.<>c), Member = "<.ctor>b__10_1", ReturnType = typeof(bool))]
22 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AmbienceServer.<>c), Member = "<.ctor>b__10_2", ReturnType = typeof(bool))]
23 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AmbienceServer.<>c), Member = "<.ctor>b__10_4", ReturnType = typeof(bool))]
24 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AmbienceServer.<>c), Member = "<.ctor>b__10_6", ReturnType = typeof(bool))]
25 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AmbienceServer.<>c), Member = "<.ctor>b__10_7", ReturnType = typeof(bool))]
26 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AmbienceServer.<>c), Member = "<.ctor>b__10_8", ReturnType = typeof(bool))]
27 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AmbienceServer.<>c), Member = "<.ctor>b__10_9", ReturnType = typeof(bool))]
28 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AmbienceServer.<>c), Member = "<.ctor>b__10_10", ReturnType = typeof(bool))]
29 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AmbienceServer.<>c), Member = "<.ctor>b__10_12", ReturnType = typeof(bool))]
30 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AmbienceServer.<>c), Member = "<.ctor>b__10_13", ReturnType = typeof(bool))]
31 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AmbienceServer.<>c), Member = "<.ctor>b__10_14", ReturnType = typeof(bool))]
32 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 12)]
33 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_IsItRaining", ReturnType = typeof(bool))]
34 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
35 private static bool IsSunnyDay()
36 {
37 throw null;
38 }
39
40 [global::Cpp2ILInjected.Token(Token = "0x600523F")]
41 [global::Cpp2ILInjected.Address(RVA = "0x93B954", Offset = "0x93B954", Length = "0x8C")]
42 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
43 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AmbienceServer.<>c), Member = "<.ctor>b__10_7", ReturnType = typeof(bool))]
44 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
45 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
46 private static bool IsSunset()
47 {
48 throw null;
49 }
50
51 [global::Cpp2ILInjected.Token(Token = "0x6005240")]
52 [global::Cpp2ILInjected.Address(RVA = "0x93B9E0", Offset = "0x93B9E0", Length = "0xD8")]
53 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
54 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AmbienceServer.<>c), Member = "<.ctor>b__10_7", ReturnType = typeof(bool))]
55 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AmbienceServer.<>c), Member = "<.ctor>b__10_8", ReturnType = typeof(bool))]
56 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AmbienceServer.<>c), Member = "<.ctor>b__10_11", ReturnType = typeof(bool))]
57 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AmbienceServer.<>c), Member = "<.ctor>b__10_13", ReturnType = typeof(bool))]
58 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AmbienceServer.<>c), Member = "<.ctor>b__10_14", ReturnType = typeof(bool))]
59 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 5)]
60 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_IsItRaining", ReturnType = typeof(bool))]
61 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
62 private static bool IsCalmNight()
63 {
64 throw null;
65 }
66
67 [global::Cpp2ILInjected.Token(Token = "0x6005241")]
68 [global::Cpp2ILInjected.Address(RVA = "0x93BAB8", Offset = "0x93BAB8", Length = "0xEEC")]
69 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.Main.<>c", Member = "<Initialize>b__1845_0", ReturnType = typeof(void))]
70 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
71 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<ByteEnum, object>), Member = ".ctor", ReturnType = typeof(void))]
72 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<AmbienceServer.AmbienceSpawnInfo>), Member = ".ctor", ReturnType = typeof(void))]
73 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
74 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(AmbienceServer), Member = "ResetSpawnTime", ReturnType = typeof(void))]
75 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Func<bool>), Member = ".ctor", MemberParameters = new object[]
76 {
77 typeof(object),
79 }, ReturnType = typeof(void))]
80 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<ByteEnum, object>), Member = "set_Item", MemberParameters = new object[]
81 {
82 "System.ByteEnum",
83 typeof(object)
84 }, ReturnType = typeof(void))]
85 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Func<object, bool>), Member = ".ctor", MemberParameters = new object[]
86 {
87 typeof(object),
89 }, ReturnType = typeof(void))]
90 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 112)]
92 {
93 throw null;
94 }
95
96 [global::Cpp2ILInjected.Token(Token = "0x6005242")]
97 [global::Cpp2ILInjected.Address(RVA = "0x93CA34", Offset = "0x93CA34", Length = "0x18")]
98 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
99 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
100 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(AmbienceServer), Member = "IsPlayerInAPlaceWhereTheyCanSeeAmbienceSky", MemberParameters = new object[] { typeof(Player) }, ReturnType = typeof(bool))]
102 {
103 throw null;
104 }
105
106 [global::Cpp2ILInjected.Token(Token = "0x6005243")]
107 [global::Cpp2ILInjected.Address(RVA = "0x93CB4C", Offset = "0x93CB4C", Length = "0x57C")]
108 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
109 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DoUpdate", MemberParameters = new object[] { typeof(GameTime) }, ReturnType = typeof(void))]
110 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
111 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
112 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(AmbienceServer), Member = "SpawnForcedEntities", ReturnType = typeof(void))]
113 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(AmbienceServer), Member = "ResetSpawnTime", ReturnType = typeof(void))]
114 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Func<, >), Member = ".ctor", MemberParameters = new object[]
115 {
116 typeof(object),
118 }, ReturnType = typeof(void))]
119 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Enumerable), Member = "Where", MemberTypeParameters = new object[] { "TSource" }, MemberParameters = new object[] { "System.Collections.Generic.IEnumerable`1<TSource>", "System.Func`2<TSource, Boolean>" }, ReturnType = "System.Collections.Generic.IEnumerable`1<TSource>")]
120 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Func<KeyValuePair<ByteEnum, object>, ByteEnum>), Member = ".ctor", MemberParameters = new object[]
121 {
122 typeof(object),
124 }, ReturnType = typeof(void))]
125 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Enumerable), Member = "Select", MemberTypeParameters = new object[] { "TSource", "TResult" }, MemberParameters = new object[] { "System.Collections.Generic.IEnumerable`1<TSource>", "System.Func`2<TSource, TResult>" }, ReturnType = "System.Collections.Generic.IEnumerable`1<TResult>")]
126 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Func<ByteEnum, bool>), Member = ".ctor", MemberParameters = new object[]
127 {
128 typeof(object),
130 }, ReturnType = typeof(void))]
131 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Enumerable), Member = "Count", MemberTypeParameters = new object[] { "TSource" }, MemberParameters = new object[] { "System.Collections.Generic.IEnumerable`1<TSource>", "System.Func`2<TSource, Boolean>" }, ReturnType = typeof(int))]
132 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(AmbienceServer), Member = "FindPlayerThatCanSeeBackgroundAmbience", MemberParameters = new object[] { typeof(ref Player) }, ReturnType = typeof(void))]
133 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Enumerable[]), Member = "Where", MemberTypeParameters = new object[] { "System.ByteEnum" }, MemberParameters = new object[]
134 {
137 }, ReturnType = "System.Collections.Generic.IEnumerable`1<TSource>")]
138 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UnifiedRandom), Member = "Next", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(int))]
139 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Enumerable), Member = "ElementAt", MemberTypeParameters = new object[] { "TSource" }, MemberParameters = new object[]
140 {
141 "System.Collections.Generic.IEnumerable`1<TSource>",
142 typeof(int)
143 }, ReturnType = "TSource")]
144 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(AmbienceServer), Member = "SpawnForPlayer", MemberParameters = new object[]
145 {
146 typeof(Player),
147 typeof(SkyEntityType)
148 }, ReturnType = typeof(void))]
149 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 41)]
150 public void Update()
151 {
152 throw null;
153 }
154
155 [global::Cpp2ILInjected.Token(Token = "0x6005244")]
156 [global::Cpp2ILInjected.Address(RVA = "0x93C9A4", Offset = "0x93C9A4", Length = "0x90")]
157 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
158 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AmbienceServer), Member = ".ctor", ReturnType = typeof(void))]
159 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AmbienceServer), Member = "Update", ReturnType = typeof(void))]
160 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
161 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UnifiedRandom), Member = "Next", MemberParameters = new object[]
162 {
163 typeof(int),
164 typeof(int)
165 }, ReturnType = typeof(int))]
166 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
167 public void ResetSpawnTime()
168 {
169 throw null;
170 }
171
172 [global::Cpp2ILInjected.Token(Token = "0x6005245")]
173 [global::Cpp2ILInjected.Address(RVA = "0x93D51C", Offset = "0x93D51C", Length = "0xA8")]
174 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
175 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "HandleMeteorFall", ReturnType = typeof(void))]
176 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
177 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
179 {
180 throw null;
181 }
182
183 [global::Cpp2ILInjected.Token(Token = "0x6005246")]
184 [global::Cpp2ILInjected.Address(RVA = "0x93D0D0", Offset = "0x93D0D0", Length = "0x164")]
185 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
186 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AmbienceServer), Member = "Update", ReturnType = typeof(void))]
187 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
188 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<AmbienceServer.AmbienceSpawnInfo>), Member = "get_Item", MemberParameters = new object[] { typeof(int) }, ReturnType = "T")]
189 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(AmbienceServer), Member = "FindPlayerThatCanSeeBackgroundAmbience", MemberParameters = new object[] { typeof(ref Player) }, ReturnType = typeof(void))]
190 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(AmbienceServer), Member = "IsPlayerInAPlaceWhereTheyCanSeeAmbienceHell", MemberParameters = new object[] { typeof(Player) }, ReturnType = typeof(bool))]
191 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(AmbienceServer), Member = "IsPlayerInAPlaceWhereTheyCanSeeAmbienceSky", MemberParameters = new object[] { typeof(Player) }, ReturnType = typeof(bool))]
192 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(AmbienceServer), Member = "SpawnForPlayer", MemberParameters = new object[]
193 {
194 typeof(Player),
195 typeof(SkyEntityType)
196 }, ReturnType = typeof(void))]
197 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(List<AmbienceServer.AmbienceSpawnInfo>), Member = "RemoveAt", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
198 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
199 private void SpawnForcedEntities()
200 {
201 throw null;
202 }
203
204 [global::Cpp2ILInjected.Token(Token = "0x6005247")]
205 [global::Cpp2ILInjected.Address(RVA = "0x93D234", Offset = "0x93D234", Length = "0x258")]
206 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AmbienceServer), Member = "Update", ReturnType = typeof(void))]
207 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AmbienceServer), Member = "SpawnForcedEntities", ReturnType = typeof(void))]
208 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
209 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Func<object, bool>), Member = ".ctor", MemberParameters = new object[]
210 {
211 typeof(object),
213 }, ReturnType = typeof(void))]
214 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Enumerable[]), Member = "Count", MemberTypeParameters = new object[] { typeof(object) }, MemberParameters = new object[]
215 {
218 }, ReturnType = typeof(int))]
219 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Enumerable[]), Member = "Where", MemberTypeParameters = new object[] { typeof(object) }, MemberParameters = new object[]
220 {
223 }, ReturnType = "System.Collections.Generic.IEnumerable`1<TSource>")]
224 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UnifiedRandom), Member = "Next", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(int))]
225 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Enumerable[]), Member = "ElementAt", MemberTypeParameters = new object[] { typeof(object) }, MemberParameters = new object[]
226 {
228 typeof(int)
229 }, ReturnType = "TSource")]
230 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 18)]
232 {
233 throw null;
234 }
235
236 [global::Cpp2ILInjected.Token(Token = "0x6005248")]
237 [global::Cpp2ILInjected.Address(RVA = "0x93D5C4", Offset = "0x93D5C4", Length = "0x28")]
238 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
239 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(AmbienceServer), Member = "IsPlayerInAPlaceWhereTheyCanSeeAmbienceSky", MemberParameters = new object[] { typeof(Player) }, ReturnType = typeof(bool))]
240 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(AmbienceServer), Member = "IsPlayerInAPlaceWhereTheyCanSeeAmbienceHell", MemberParameters = new object[] { typeof(Player) }, ReturnType = typeof(bool))]
242 {
243 throw null;
244 }
245
246 [global::Cpp2ILInjected.Token(Token = "0x6005249")]
247 [global::Cpp2ILInjected.Address(RVA = "0x93CAC4", Offset = "0x93CAC4", Length = "0x88")]
248 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
249 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AmbienceServer.<>c), Member = "<FindPlayerThatCanSeeBackgroundAmbience>b__16_0", MemberParameters = new object[] { typeof(Player) }, ReturnType = typeof(bool))]
250 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AmbienceServer.<>c), Member = "<FindPlayerThatCanSeeBackgroundAmbience>b__16_1", MemberParameters = new object[] { typeof(Player) }, ReturnType = typeof(bool))]
251 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AmbienceServer.<>c__DisplayClass12_0), Member = "<Update>b__3", MemberParameters = new object[] { typeof(SkyEntityType) }, ReturnType = typeof(bool))]
252 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AmbienceServer.<>c__DisplayClass12_0), Member = "<Update>b__5", MemberParameters = new object[] { typeof(SkyEntityType) }, ReturnType = typeof(bool))]
253 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AmbienceServer), Member = "IsPlayerAtRightHeightForType", MemberParameters = new object[]
254 {
255 typeof(SkyEntityType),
257 }, ReturnType = typeof(bool))]
258 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AmbienceServer), Member = "SpawnForcedEntities", ReturnType = typeof(void))]
259 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AmbienceServer), Member = "IsPlayerInAPlaceWhereTheyCanSeeAmbience", MemberParameters = new object[] { typeof(Player) }, ReturnType = typeof(bool))]
260 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 7)]
261 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
263 {
264 throw null;
265 }
266
267 [global::Cpp2ILInjected.Token(Token = "0x600524A")]
268 [global::Cpp2ILInjected.Address(RVA = "0x93CA4C", Offset = "0x93CA4C", Length = "0x78")]
269 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
270 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AmbienceServer.<>c), Member = "<FindPlayerThatCanSeeBackgroundAmbience>b__16_0", MemberParameters = new object[] { typeof(Player) }, ReturnType = typeof(bool))]
271 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AmbienceServer.<>c), Member = "<FindPlayerThatCanSeeBackgroundAmbience>b__16_1", MemberParameters = new object[] { typeof(Player) }, ReturnType = typeof(bool))]
272 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AmbienceServer.<>c__DisplayClass12_0), Member = "<Update>b__3", MemberParameters = new object[] { typeof(SkyEntityType) }, ReturnType = typeof(bool))]
273 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AmbienceServer.<>c__DisplayClass12_0), Member = "<Update>b__5", MemberParameters = new object[] { typeof(SkyEntityType) }, ReturnType = typeof(bool))]
274 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AmbienceServer), Member = "SpawnForcedEntities", ReturnType = typeof(void))]
275 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AmbienceServer), Member = "IsPlayerInAPlaceWhereTheyCanSeeAmbience", MemberParameters = new object[] { typeof(Player) }, ReturnType = typeof(bool))]
276 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 6)]
277 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_UnderworldLayer", ReturnType = typeof(int))]
278 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
280 {
281 throw null;
282 }
283
284 [global::Cpp2ILInjected.Token(Token = "0x600524B")]
285 [global::Cpp2ILInjected.Address(RVA = "0x93D48C", Offset = "0x93D48C", Length = "0x90")]
286 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AmbienceServer), Member = "Update", ReturnType = typeof(void))]
287 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(AmbienceServer), Member = "SpawnForcedEntities", ReturnType = typeof(void))]
288 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
289 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NetAmbienceModule), Member = "SerializeSkyEntitySpawn", MemberParameters = new object[]
290 {
291 typeof(Player),
293 }, ReturnType = typeof(NetPacket))]
294 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NetManager), Member = "BroadcastOrLoopback", MemberParameters = new object[] { typeof(NetPacket) }, ReturnType = typeof(void))]
295 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
296 private void SpawnForPlayer(Player player, SkyEntityType type)
297 {
298 throw null;
299 }
300
301 [global::Cpp2ILInjected.Token(Token = "0x4008A83")]
302 private const int MINIMUM_SECONDS_BETWEEN_SPAWNS = 10;
303
304 [global::Cpp2ILInjected.Token(Token = "0x4008A84")]
305 private const int MAXIMUM_SECONDS_BETWEEN_SPAWNS = 120;
306
307 [global::Cpp2ILInjected.Token(Token = "0x4008A85")]
308 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
310
311 [global::Cpp2ILInjected.Token(Token = "0x4008A86")]
312 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
314
315 [global::Cpp2ILInjected.Token(Token = "0x4008A87")]
316 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
318
319 [global::Cpp2ILInjected.Token(Token = "0x4008A88")]
320 [global::Cpp2ILInjected.FieldOffset(Offset = "0x28")]
322
323 [global::Cpp2ILInjected.Token(Token = "0x2000AFC")]
324 public struct AmbienceSpawnInfo
325 {
326 [global::Cpp2ILInjected.Token(Token = "0x4008A89")]
327 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
329
330 [global::Cpp2ILInjected.Token(Token = "0x4008A8A")]
331 [global::Cpp2ILInjected.FieldOffset(Offset = "0x4")]
332 public int targetPlayer;
333 }
334
336 [global::Cpp2ILInjected.Token(Token = "0x2000AFD")]
337 [Serializable]
338 private sealed class <>c
339 {
340 // Note: this type is marked as 'beforefieldinit'.
341 [global::Cpp2ILInjected.Token(Token = "0x600524C")]
342 [global::Cpp2ILInjected.Address(RVA = "0x93D5EC", Offset = "0x93D5EC", Length = "0x5C")]
343 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
344 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
345 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
346 static <>c()
347 {
348 throw null;
349 }
350
351 [global::Cpp2ILInjected.Token(Token = "0x600524D")]
352 [global::Cpp2ILInjected.Address(RVA = "0x93D648", Offset = "0x93D648", Length = "0x8")]
353 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
354 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
355 public <>c()
356 {
357 throw null;
358 }
359
360 [global::Cpp2ILInjected.Token(Token = "0x600524E")]
361 [global::Cpp2ILInjected.Address(RVA = "0x93D650", Offset = "0x93D650", Length = "0x68")]
362 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
363 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
364 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(AmbienceServer), Member = "IsSunnyDay", ReturnType = typeof(bool))]
365 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
366 internal bool <.ctor>b__10_0()
367 {
368 throw null;
369 }
370
371 [global::Cpp2ILInjected.Token(Token = "0x600524F")]
372 [global::Cpp2ILInjected.Address(RVA = "0x93D6B8", Offset = "0x93D6B8", Length = "0xA0")]
373 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
374 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
375 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(AmbienceServer), Member = "IsSunnyDay", ReturnType = typeof(bool))]
376 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
377 internal bool <.ctor>b__10_1()
378 {
379 throw null;
380 }
381
382 [global::Cpp2ILInjected.Token(Token = "0x6005250")]
383 [global::Cpp2ILInjected.Address(RVA = "0x93D758", Offset = "0x93D758", Length = "0xA0")]
384 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
385 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
386 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(AmbienceServer), Member = "IsSunnyDay", ReturnType = typeof(bool))]
387 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
388 internal bool <.ctor>b__10_2()
389 {
390 throw null;
391 }
392
393 [global::Cpp2ILInjected.Token(Token = "0x6005251")]
394 [global::Cpp2ILInjected.Address(RVA = "0x93D7F8", Offset = "0x93D7F8", Length = "0x60")]
395 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
396 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
397 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
398 internal bool <.ctor>b__10_3()
399 {
400 throw null;
401 }
402
403 [global::Cpp2ILInjected.Token(Token = "0x6005252")]
404 [global::Cpp2ILInjected.Address(RVA = "0x93D858", Offset = "0x93D858", Length = "0xF0")]
405 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
406 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
407 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(AmbienceServer), Member = "IsSunnyDay", ReturnType = typeof(bool))]
408 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NPC), Member = "get_TooWindyForButterflies", ReturnType = typeof(bool))]
409 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 7)]
410 internal bool <.ctor>b__10_4()
411 {
412 throw null;
413 }
414
415 [global::Cpp2ILInjected.Token(Token = "0x6005253")]
416 [global::Cpp2ILInjected.Address(RVA = "0x93D948", Offset = "0x93D948", Length = "0xD0")]
417 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
418 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
419 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
420 internal bool <.ctor>b__10_5()
421 {
422 throw null;
423 }
424
425 [global::Cpp2ILInjected.Token(Token = "0x6005254")]
426 [global::Cpp2ILInjected.Address(RVA = "0x93DA18", Offset = "0x93DA18", Length = "0x4")]
427 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
428 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(AmbienceServer), Member = "IsSunnyDay", ReturnType = typeof(bool))]
429 internal bool <.ctor>b__10_6()
430 {
431 throw null;
432 }
433
434 [global::Cpp2ILInjected.Token(Token = "0x6005255")]
435 [global::Cpp2ILInjected.Address(RVA = "0x93DA1C", Offset = "0x93DA1C", Length = "0x28")]
436 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
437 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(AmbienceServer), Member = "IsSunset", ReturnType = typeof(bool))]
438 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(AmbienceServer), Member = "IsSunnyDay", ReturnType = typeof(bool))]
439 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(AmbienceServer), Member = "IsCalmNight", ReturnType = typeof(bool))]
440 internal bool <.ctor>b__10_7()
441 {
442 throw null;
443 }
444
445 [global::Cpp2ILInjected.Token(Token = "0x6005256")]
446 [global::Cpp2ILInjected.Address(RVA = "0x93DA44", Offset = "0x93DA44", Length = "0x20")]
447 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
448 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(AmbienceServer), Member = "IsSunnyDay", ReturnType = typeof(bool))]
449 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(AmbienceServer), Member = "IsCalmNight", ReturnType = typeof(bool))]
450 internal bool <.ctor>b__10_8()
451 {
452 throw null;
453 }
454
455 [global::Cpp2ILInjected.Token(Token = "0x6005257")]
456 [global::Cpp2ILInjected.Address(RVA = "0x93DA64", Offset = "0x93DA64", Length = "0x4")]
457 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
458 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(AmbienceServer), Member = "IsSunnyDay", ReturnType = typeof(bool))]
459 internal bool <.ctor>b__10_9()
460 {
461 throw null;
462 }
463
464 [global::Cpp2ILInjected.Token(Token = "0x6005258")]
465 [global::Cpp2ILInjected.Address(RVA = "0x93DA68", Offset = "0x93DA68", Length = "0xA0")]
466 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
467 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
468 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(AmbienceServer), Member = "IsSunnyDay", ReturnType = typeof(bool))]
469 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
470 internal bool <.ctor>b__10_10()
471 {
472 throw null;
473 }
474
475 [global::Cpp2ILInjected.Token(Token = "0x6005259")]
476 [global::Cpp2ILInjected.Address(RVA = "0x93DB08", Offset = "0x93DB08", Length = "0x4")]
477 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
478 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(AmbienceServer), Member = "IsCalmNight", ReturnType = typeof(bool))]
479 internal bool <.ctor>b__10_11()
480 {
481 throw null;
482 }
483
484 [global::Cpp2ILInjected.Token(Token = "0x600525A")]
485 [global::Cpp2ILInjected.Address(RVA = "0x93DB0C", Offset = "0x93DB0C", Length = "0x4")]
486 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
487 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(AmbienceServer), Member = "IsSunnyDay", ReturnType = typeof(bool))]
488 internal bool <.ctor>b__10_12()
489 {
490 throw null;
491 }
492
493 [global::Cpp2ILInjected.Token(Token = "0x600525B")]
494 [global::Cpp2ILInjected.Address(RVA = "0x93DB10", Offset = "0x93DB10", Length = "0x20")]
495 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
496 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(AmbienceServer), Member = "IsSunnyDay", ReturnType = typeof(bool))]
497 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(AmbienceServer), Member = "IsCalmNight", ReturnType = typeof(bool))]
498 internal bool <.ctor>b__10_13()
499 {
500 throw null;
501 }
502
503 [global::Cpp2ILInjected.Token(Token = "0x600525C")]
504 [global::Cpp2ILInjected.Address(RVA = "0x93DB30", Offset = "0x93DB30", Length = "0x20")]
505 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
506 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(AmbienceServer), Member = "IsSunnyDay", ReturnType = typeof(bool))]
507 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(AmbienceServer), Member = "IsCalmNight", ReturnType = typeof(bool))]
508 internal bool <.ctor>b__10_14()
509 {
510 throw null;
511 }
512
513 [global::Cpp2ILInjected.Token(Token = "0x600525D")]
514 [global::Cpp2ILInjected.Address(RVA = "0x93DB50", Offset = "0x93DB50", Length = "0x8")]
515 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
516 internal bool <.ctor>b__10_15()
517 {
518 throw null;
519 }
520
521 [global::Cpp2ILInjected.Token(Token = "0x600525E")]
522 [global::Cpp2ILInjected.Address(RVA = "0x93DB58", Offset = "0x93DB58", Length = "0xC")]
523 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
524 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Player), Member = "get_ZoneDesert", ReturnType = typeof(bool))]
525 internal bool <.ctor>b__10_16(Player player)
526 {
527 throw null;
528 }
529
530 [global::Cpp2ILInjected.Token(Token = "0x600525F")]
531 [global::Cpp2ILInjected.Address(RVA = "0x93DB64", Offset = "0x93DB64", Length = "0xC")]
532 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
533 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Player), Member = "get_ZoneHallow", ReturnType = typeof(bool))]
534 internal bool <.ctor>b__10_17(Player player)
535 {
536 throw null;
537 }
538
539 [global::Cpp2ILInjected.Token(Token = "0x6005260")]
540 [global::Cpp2ILInjected.Address(RVA = "0x93DB70", Offset = "0x93DB70", Length = "0xC")]
541 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
542 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Player), Member = "get_ZoneBeach", ReturnType = typeof(bool))]
543 internal bool <.ctor>b__10_18(Player player)
544 {
545 throw null;
546 }
547
548 [global::Cpp2ILInjected.Token(Token = "0x6005261")]
549 [global::Cpp2ILInjected.Address(RVA = "0x93DB7C", Offset = "0x93DB7C", Length = "0xC")]
550 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
551 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Player), Member = "get_ZoneHallow", ReturnType = typeof(bool))]
552 internal bool <.ctor>b__10_19(Player player)
553 {
554 throw null;
555 }
556
557 [global::Cpp2ILInjected.Token(Token = "0x6005262")]
558 [global::Cpp2ILInjected.Address(RVA = "0x93DB88", Offset = "0x93DB88", Length = "0xC")]
559 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
560 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Player), Member = "get_ZoneHallow", ReturnType = typeof(bool))]
561 internal bool <.ctor>b__10_20(Player player)
562 {
563 throw null;
564 }
565
566 [global::Cpp2ILInjected.Token(Token = "0x6005263")]
567 [global::Cpp2ILInjected.Address(RVA = "0x93DB94", Offset = "0x93DB94", Length = "0xC")]
568 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
569 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Player), Member = "get_ZoneCorrupt", ReturnType = typeof(bool))]
570 internal bool <.ctor>b__10_21(Player player)
571 {
572 throw null;
573 }
574
575 [global::Cpp2ILInjected.Token(Token = "0x6005264")]
576 [global::Cpp2ILInjected.Address(RVA = "0x93DBA0", Offset = "0x93DBA0", Length = "0xC")]
577 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
578 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Player), Member = "get_ZoneCrimson", ReturnType = typeof(bool))]
579 internal bool <.ctor>b__10_22(Player player)
580 {
581 throw null;
582 }
583
584 [global::Cpp2ILInjected.Token(Token = "0x6005265")]
585 [global::Cpp2ILInjected.Address(RVA = "0x93DBAC", Offset = "0x93DBAC", Length = "0xC")]
586 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
587 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Player), Member = "get_ZoneJungle", ReturnType = typeof(bool))]
588 internal bool <.ctor>b__10_23(Player player)
589 {
590 throw null;
591 }
592
593 [global::Cpp2ILInjected.Token(Token = "0x6005266")]
594 [global::Cpp2ILInjected.Address(RVA = "0x93DBB8", Offset = "0x93DBB8", Length = "0x44")]
595 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
596 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
597 internal bool <Update>b__12_0(KeyValuePair<SkyEntityType, Func<bool>> pair)
598 {
599 throw null;
600 }
601
602 [global::Cpp2ILInjected.Token(Token = "0x6005267")]
603 [global::Cpp2ILInjected.Address(RVA = "0x93DBFC", Offset = "0x93DBFC", Length = "0x3C")]
604 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
605 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
606 internal SkyEntityType <Update>b__12_1(KeyValuePair<SkyEntityType, Func<bool>> pair)
607 {
608 throw null;
609 }
610
611 [global::Cpp2ILInjected.Token(Token = "0x6005268")]
612 [global::Cpp2ILInjected.Address(RVA = "0x93DC38", Offset = "0x93DC38", Length = "0x8")]
613 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
614 internal bool <Update>b__12_2(SkyEntityType type)
615 {
616 throw null;
617 }
618
619 [global::Cpp2ILInjected.Token(Token = "0x6005269")]
620 [global::Cpp2ILInjected.Address(RVA = "0x93DC40", Offset = "0x93DC40", Length = "0x8")]
621 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
622 internal bool <Update>b__12_4(SkyEntityType type)
623 {
624 throw null;
625 }
626
627 [global::Cpp2ILInjected.Token(Token = "0x600526A")]
628 [global::Cpp2ILInjected.Address(RVA = "0x93DC48", Offset = "0x93DC48", Length = "0x8")]
629 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
630 internal bool <Update>b__12_6(SkyEntityType type)
631 {
632 throw null;
633 }
634
635 [global::Cpp2ILInjected.Token(Token = "0x600526B")]
636 [global::Cpp2ILInjected.Address(RVA = "0x93DC50", Offset = "0x93DC50", Length = "0x40")]
637 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
638 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(AmbienceServer), Member = "IsPlayerInAPlaceWhereTheyCanSeeAmbienceSky", MemberParameters = new object[] { typeof(Player) }, ReturnType = typeof(bool))]
639 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(AmbienceServer), Member = "IsPlayerInAPlaceWhereTheyCanSeeAmbienceHell", MemberParameters = new object[] { typeof(Player) }, ReturnType = typeof(bool))]
641 {
642 throw null;
643 }
644
645 [global::Cpp2ILInjected.Token(Token = "0x600526C")]
646 [global::Cpp2ILInjected.Address(RVA = "0x93DC90", Offset = "0x93DC90", Length = "0x40")]
647 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
648 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(AmbienceServer), Member = "IsPlayerInAPlaceWhereTheyCanSeeAmbienceSky", MemberParameters = new object[] { typeof(Player) }, ReturnType = typeof(bool))]
649 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(AmbienceServer), Member = "IsPlayerInAPlaceWhereTheyCanSeeAmbienceHell", MemberParameters = new object[] { typeof(Player) }, ReturnType = typeof(bool))]
651 {
652 throw null;
653 }
654
655 [global::Cpp2ILInjected.Token(Token = "0x4008A8B")]
656 public static readonly AmbienceServer.<>c <>9;
657
658 [global::Cpp2ILInjected.Token(Token = "0x4008A8C")]
659 public static Func<bool> <>9__10_0;
660
661 [global::Cpp2ILInjected.Token(Token = "0x4008A8D")]
662 public static Func<bool> <>9__10_1;
663
664 [global::Cpp2ILInjected.Token(Token = "0x4008A8E")]
665 public static Func<bool> <>9__10_2;
666
667 [global::Cpp2ILInjected.Token(Token = "0x4008A8F")]
668 public static Func<bool> <>9__10_3;
669
670 [global::Cpp2ILInjected.Token(Token = "0x4008A90")]
671 public static Func<bool> <>9__10_4;
672
673 [global::Cpp2ILInjected.Token(Token = "0x4008A91")]
674 public static Func<bool> <>9__10_5;
675
676 [global::Cpp2ILInjected.Token(Token = "0x4008A92")]
677 public static Func<bool> <>9__10_6;
678
679 [global::Cpp2ILInjected.Token(Token = "0x4008A93")]
680 public static Func<bool> <>9__10_7;
681
682 [global::Cpp2ILInjected.Token(Token = "0x4008A94")]
683 public static Func<bool> <>9__10_8;
684
685 [global::Cpp2ILInjected.Token(Token = "0x4008A95")]
686 public static Func<bool> <>9__10_9;
687
688 [global::Cpp2ILInjected.Token(Token = "0x4008A96")]
689 public static Func<bool> <>9__10_10;
690
691 [global::Cpp2ILInjected.Token(Token = "0x4008A97")]
692 public static Func<bool> <>9__10_11;
693
694 [global::Cpp2ILInjected.Token(Token = "0x4008A98")]
695 public static Func<bool> <>9__10_12;
696
697 [global::Cpp2ILInjected.Token(Token = "0x4008A99")]
698 public static Func<bool> <>9__10_13;
699
700 [global::Cpp2ILInjected.Token(Token = "0x4008A9A")]
701 public static Func<bool> <>9__10_14;
702
703 [global::Cpp2ILInjected.Token(Token = "0x4008A9B")]
704 public static Func<bool> <>9__10_15;
705
706 [global::Cpp2ILInjected.Token(Token = "0x4008A9C")]
707 public static Func<Player, bool> <>9__10_16;
708
709 [global::Cpp2ILInjected.Token(Token = "0x4008A9D")]
710 public static Func<Player, bool> <>9__10_17;
711
712 [global::Cpp2ILInjected.Token(Token = "0x4008A9E")]
713 public static Func<Player, bool> <>9__10_18;
714
715 [global::Cpp2ILInjected.Token(Token = "0x4008A9F")]
716 public static Func<Player, bool> <>9__10_19;
717
718 [global::Cpp2ILInjected.Token(Token = "0x4008AA0")]
719 public static Func<Player, bool> <>9__10_20;
720
721 [global::Cpp2ILInjected.Token(Token = "0x4008AA1")]
722 public static Func<Player, bool> <>9__10_21;
723
724 [global::Cpp2ILInjected.Token(Token = "0x4008AA2")]
725 public static Func<Player, bool> <>9__10_22;
726
727 [global::Cpp2ILInjected.Token(Token = "0x4008AA3")]
728 public static Func<Player, bool> <>9__10_23;
729
730 [global::Cpp2ILInjected.Token(Token = "0x4008AA4")]
732
733 [global::Cpp2ILInjected.Token(Token = "0x4008AA5")]
734 public static Func<KeyValuePair<SkyEntityType, Func<bool>>, SkyEntityType> <>9__12_1;
735
736 [global::Cpp2ILInjected.Token(Token = "0x4008AA6")]
737 public static Func<SkyEntityType, bool> <>9__12_2;
738
739 [global::Cpp2ILInjected.Token(Token = "0x4008AA7")]
740 public static Func<SkyEntityType, bool> <>9__12_4;
741
742 [global::Cpp2ILInjected.Token(Token = "0x4008AA8")]
743 public static Func<SkyEntityType, bool> <>9__12_6;
744
745 [global::Cpp2ILInjected.Token(Token = "0x4008AA9")]
746 public static Func<Player, bool> <>9__16_0;
747
748 [global::Cpp2ILInjected.Token(Token = "0x4008AAA")]
749 public static Func<Player, bool> <>9__16_1;
750 }
751
753 [global::Cpp2ILInjected.Token(Token = "0x2000AFE")]
754 private sealed class <>c__DisplayClass12_0
755 {
756 [global::Cpp2ILInjected.Token(Token = "0x600526D")]
757 [global::Cpp2ILInjected.Address(RVA = "0x93D0C8", Offset = "0x93D0C8", Length = "0x8")]
758 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
759 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
761 {
762 throw null;
763 }
764
765 [global::Cpp2ILInjected.Token(Token = "0x600526E")]
766 [global::Cpp2ILInjected.Address(RVA = "0x93DCD0", Offset = "0x93DCD0", Length = "0xCC")]
767 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
768 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
769 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(AmbienceServer), Member = "IsPlayerInAPlaceWhereTheyCanSeeAmbienceHell", MemberParameters = new object[] { typeof(Player) }, ReturnType = typeof(bool))]
770 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(AmbienceServer), Member = "IsPlayerInAPlaceWhereTheyCanSeeAmbienceSky", MemberParameters = new object[] { typeof(Player) }, ReturnType = typeof(bool))]
771 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<ByteEnum, object>), Member = "ContainsKey", MemberParameters = new object[] { "System.ByteEnum" }, ReturnType = typeof(bool))]
772 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<ByteEnum, object>), Member = "get_Item", MemberParameters = new object[] { "System.ByteEnum" }, ReturnType = "TValue")]
773 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
774 internal bool <Update>b__3(SkyEntityType type)
775 {
776 throw null;
777 }
778
779 [global::Cpp2ILInjected.Token(Token = "0x600526F")]
780 [global::Cpp2ILInjected.Address(RVA = "0x93DD9C", Offset = "0x93DD9C", Length = "0xD0")]
781 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
782 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
783 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(AmbienceServer), Member = "IsPlayerInAPlaceWhereTheyCanSeeAmbienceHell", MemberParameters = new object[] { typeof(Player) }, ReturnType = typeof(bool))]
784 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(AmbienceServer), Member = "IsPlayerInAPlaceWhereTheyCanSeeAmbienceSky", MemberParameters = new object[] { typeof(Player) }, ReturnType = typeof(bool))]
785 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<ByteEnum, object>), Member = "ContainsKey", MemberParameters = new object[] { "System.ByteEnum" }, ReturnType = typeof(bool))]
786 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Dictionary<ByteEnum, object>), Member = "get_Item", MemberParameters = new object[] { "System.ByteEnum" }, ReturnType = "TValue")]
787 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
788 internal bool <Update>b__5(SkyEntityType type)
789 {
790 throw null;
791 }
792
793 [global::Cpp2ILInjected.Token(Token = "0x4008AAB")]
794 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
796
797 [global::Cpp2ILInjected.Token(Token = "0x4008AAC")]
798 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
799 public Player player;
800 }
801 }
802}
class f__AnonymousType0<< Count > j__TPar
static void FindPlayerThatCanSeeBackgroundAmbience(out Player player)
static bool IsPlayerInAPlaceWhereTheyCanSeeAmbienceSky(Player plr)
bool IsPlayerAtRightHeightForType(SkyEntityType type, Player plr)
static bool IsPlayerInAPlaceWhereTheyCanSeeAmbienceHell(Player plr)
readonly Dictionary< SkyEntityType, Func< Player, bool > > _secondarySpawnConditionsPerPlayer
void ForceEntitySpawn(AmbienceServer.AmbienceSpawnInfo info)
static bool IsPlayerInAPlaceWhereTheyCanSeeAmbience(Player plr)
readonly Dictionary< SkyEntityType, Func< bool > > _spawnConditions
void SpawnForPlayer(Player player, SkyEntityType type)
List< AmbienceServer.AmbienceSpawnInfo > _forcedSpawns
ByteEnum
Definition ByteEnum.cs:8