Elin Decompiled Documentation EA 23.102 Nightly
Loading...
Searching...
No Matches
UIMapSelector Class Reference
Inheritance diagram for UIMapSelector:
EMono

Public Member Functions

void WriteNote (Zone z)
 

Public Attributes

UINote note
 
Image imageZone
 

Additional Inherited Members

- Static Public Member Functions inherited from EMono
static int rnd (int a)
 
- Static Public Attributes inherited from EMono
static Core core
 
- Properties inherited from EMono
static Game game [get]
 
static bool AdvMode [get]
 
static Player player [get]
 
static Chara pc [get]
 
static UI ui [get]
 
static Map _map [get]
 
static Zone _zone [get]
 
static FactionBranch Branch [get]
 
static FactionBranch BranchOrHomeBranch [get]
 
static Faction Home [get]
 
static Scene scene [get]
 
static BaseGameScreen screen [get]
 
static GameSetting setting [get]
 
static GameData gamedata [get]
 
static ColorProfile Colors [get]
 
static World world [get]
 
static SoundManager Sound [get]
 
static SourceManager sources [get]
 
static SourceManager editorSources [get]
 
static CoreDebug debug [get]
 

Detailed Description

Definition at line 4 of file UIMapSelector.cs.

Member Function Documentation

◆ WriteNote()

void UIMapSelector.WriteNote ( Zone  z)
inline

Definition at line 10 of file UIMapSelector.cs.

11 {
12 ZoneProfile.Load(z.source.idProfile);
13 note.Clear();
15 note.AddText(z.source.GetDetail()).Hyphenate();
16 note.Space();
17 note.AddTopic("climate".lang(), "climateTemp".lang());
18 _ = z.source.cost;
19 note.AddTopic("ecosystem".lang(), "ecosystemTemp".lang());
20 note.Build();
21 imageZone.sprite = Resources.Load<Sprite>("Media/Graphics/Image/Zone/" + z.source.image.IsEmpty("default"));
22 }
virtual string Name
Definition: Spatial.cs:495
SourceZone.Row source
Definition: Spatial.cs:441
void Hyphenate()
Definition: UIItem.cs:45
void Clear()
Definition: UINote.cs:35
UIItem AddHeader(string text, Sprite sprite=null)
Definition: UINote.cs:79
UIItem AddTopic(string id, string text, string value=null)
Definition: UINote.cs:144
UIItem AddText(string text, FontColor color=FontColor.DontChange)
Definition: UINote.cs:113
void Space(int sizeY=0, int sizeX=1)
Definition: UINote.cs:62
void Build()
Definition: UINote.cs:49
static ZoneProfile Load(string id)
Definition: ZoneProfile.cs:73

References UINote.AddHeader(), UINote.AddText(), UINote.AddTopic(), UINote.Build(), UINote.Clear(), UIItem.Hyphenate(), ZoneProfile.Load(), Spatial.Name, note, Spatial.source, and UINote.Space().

Referenced by LayerEmbark.SwitchMode().

Member Data Documentation

◆ imageZone

Image UIMapSelector.imageZone

Definition at line 8 of file UIMapSelector.cs.

◆ note

UINote UIMapSelector.note

Definition at line 6 of file UIMapSelector.cs.

Referenced by WriteNote().


The documentation for this class was generated from the following file: