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
SpawnMapLayer.cs
Go to the documentation of this file.
1using System;
3
4namespace Terraria.Map
5{
6 // Token: 0x020006BF RID: 1727
7 public class SpawnMapLayer : IMapLayer
8 {
9 // Token: 0x06003926 RID: 14630 RVA: 0x0022C8E0 File Offset: 0x0022AAE0
10 public void Draw(MapOverlayDrawContext context, string text)
11 {
12 if (!true)
13 {
14 }
17 int spawnY = localPlayer.SpawnY;
18 int spawnTileX = Main.spawnTileX;
19 int spawnTileY = Main.spawnTileY;
20 if (!true)
21 {
22 }
23 string textValue = Language.GetTextValue("UI.SpawnPoint");
24 if (localPlayer.SpawnX == 0)
25 {
26 }
27 string textValue2 = Language.GetTextValue("UI.SpawnBed");
28 }
29
30 // Token: 0x06003927 RID: 14631 RVA: 0x0022C940 File Offset: 0x0022AB40
32 {
33 }
34 }
35}
class f__AnonymousType0<< Count > j__TPar
static string GetTextValue(string key)
Definition Language.cs:54
static int spawnTileY
Definition Main.cs:2365
static int spawnTileX
Definition Main.cs:2351
static Player LocalPlayer
Definition Main.cs:5267
void Draw(MapOverlayDrawContext context, string text)