Elin Modding Docs Doc
Loading...
Searching...
No Matches
LayerGlobalMap.cs
1using System;
2
3// Token: 0x0200054A RID: 1354
4public class LayerGlobalMap : ELayer
5{
6 // Token: 0x060024D2 RID: 9426 RVA: 0x000D0017 File Offset: 0x000CE217
7 public override void OnInit()
8 {
9 this.RefreshSummary();
10 }
11
12 // Token: 0x060024D3 RID: 9427 RVA: 0x000D0020 File Offset: 0x000CE220
13 public void RefreshSummary()
14 {
15 this.textName.SetText(string.Concat(new string[]
16 {
17 ELayer.world.Name,
18 Environment.NewLine,
19 "<size=18> (",
20 ELayer.pc.currentZone.Region.Name,
21 ")</size>"
22 }));
23 this.textExplore.SetText("0%");
24 this.textTerritory.SetText(ELayer.Home.CountTerritories().ToString() ?? "");
25 this.textRestore.SetText("1 (0/20)");
26 this.textWealth.SetText(ELayer.Home.CountWealth().ToString() ?? "");
27 this.textPopu.SetText(ELayer.Home.CountMembers().ToString() ?? "");
28 this.textProgress.SetText("_progress".lang(ELayer.player.stats.days.ToString() ?? "", ELayer.player.stats.sieges.ToString() ?? "", null, null, null));
29 }
30
31 // Token: 0x04001457 RID: 5207
32 public UIText textName;
33
34 // Token: 0x04001458 RID: 5208
35 public UIText textExplore;
36
37 // Token: 0x04001459 RID: 5209
38 public UIText textTerritory;
39
40 // Token: 0x0400145A RID: 5210
41 public UIText textPopu;
42
43 // Token: 0x0400145B RID: 5211
44 public UIText textWealth;
45
46 // Token: 0x0400145C RID: 5212
47 public UIText textRestore;
48
49 // Token: 0x0400145D RID: 5213
50 public UIText textProgress;
51}