Elin Modding Docs Doc
Loading...
Searching...
No Matches
RankedZone.cs
1using System;
2using CreativeSpore.SuperTilemapEditor;
3using UnityEngine;
4
5// Token: 0x020006E8 RID: 1768
6public class RankedZone : EClass
7{
8 // Token: 0x17000F3C RID: 3900
9 // (get) Token: 0x06003306 RID: 13062 RVA: 0x00118356 File Offset: 0x00116556
10 public int Value
11 {
12 get
13 {
14 return this.value;
15 }
16 }
17
18 // Token: 0x17000F3D RID: 3901
19 // (get) Token: 0x06003307 RID: 13063 RVA: 0x0011835E File Offset: 0x0011655E
20 public string Name
21 {
22 get
23 {
24 return this.z.Name;
25 }
26 }
27
28 // Token: 0x06003308 RID: 13064 RVA: 0x0011836C File Offset: 0x0011656C
29 public string GetFactionName()
30 {
31 if (this.z.IsPCFaction)
32 {
33 return EClass.pc.faction.Name;
34 }
35 if (!this.z.source.faction.IsEmpty())
36 {
37 return EClass.sources.factions.map[this.z.source.faction].GetName();
38 }
39 return " - ";
40 }
41
42 // Token: 0x06003309 RID: 13065 RVA: 0x001183DC File Offset: 0x001165DC
43 public Sprite GetSprite()
44 {
45 return TilemapUtils.GetOrCreateTileSprite(EClass.scene.elomap.actor.tileset, this.z.icon, 0f);
46 }
47
48 // Token: 0x04001BFD RID: 7165
49 public Zone z;
50
51 // Token: 0x04001BFE RID: 7166
52 public int rank;
53
54 // Token: 0x04001BFF RID: 7167
55 public int value;
56}
Definition Zone.cs:14