Elin Modding Docs Doc
Loading...
Searching...
No Matches
UIZoneInfo.cs
1using System;
2
3// Token: 0x0200050F RID: 1295
4public class UIZoneInfo : EMono
5{
6 // Token: 0x17000B0F RID: 2831
7 // (get) Token: 0x060022B5 RID: 8885 RVA: 0x000C17D0 File Offset: 0x000BF9D0
8 public EloMap elomap
9 {
10 get
11 {
12 return EMono.scene.elomapActor.elomap;
13 }
14 }
15
16 // Token: 0x17000B10 RID: 2832
17 // (get) Token: 0x060022B6 RID: 8886 RVA: 0x000C17E1 File Offset: 0x000BF9E1
18 public EloMapActor actor
19 {
20 get
21 {
22 return EMono.scene.elomapActor;
23 }
24 }
25
26 // Token: 0x060022B7 RID: 8887 RVA: 0x000C17F0 File Offset: 0x000BF9F0
27 public void SetZone(Zone _zone)
28 {
29 this.zone = _zone;
30 this.gx = this.zone.x;
31 this.gy = this.zone.y;
32 this.elomap.GetCell(this.gx, this.gy);
33 this.note.Clear();
34 base.GetComponentInParent<Window>().SetCaption(this.zone.Name);
35 this.note.AddHeaderTopic("mainFaction".lang(), null);
36 this.note.AddText(this.zone.mainFaction.name, FontColor.DontChange);
37 this.note.Space(0, 1);
38 this.note.AddHeaderTopic("listRoamers".lang(), null);
39 int num = 0;
40 foreach (Chara chara in EMono.game.cards.globalCharas.Values)
41 {
42 if (chara.currentZone == this.zone)
43 {
44 this.note.AddText(chara.Name, FontColor.DontChange);
45 num++;
46 if (num > 5)
47 {
48 break;
49 }
50 }
51 }
52 if (num == 0)
53 {
54 this.note.AddText("????????", FontColor.DontChange);
55 }
56 this.note.Build();
57 }
58
59 // Token: 0x04001205 RID: 4613
60 public UINote note;
61
62 // Token: 0x04001206 RID: 4614
63 public UIButton buttonBuy;
64
65 // Token: 0x04001207 RID: 4615
66 public UIButton buttonVisit;
67
68 // Token: 0x04001208 RID: 4616
69 public UIButton buttonExplore;
70
71 // Token: 0x04001209 RID: 4617
72 public int gx;
73
74 // Token: 0x0400120A RID: 4618
75 public int gy;
76
77 // Token: 0x0400120B RID: 4619
78 public Zone zone;
79}
Definition Chara.cs:12
Definition EMono.cs:6
Definition Zone.cs:14