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

Public Member Functions

string GetFactionName ()
 
Sprite GetSprite ()
 

Public Attributes

Zone z
 
int rank
 
int value
 

Properties

int Value [get]
 
string Name [get]
 
- Properties inherited from EClass
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 Faction Wilds [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 SourceManager sources [get]
 
static SourceManager editorSources [get]
 
static SoundManager Sound [get]
 
static CoreDebug debug [get]
 

Additional Inherited Members

- Static Public Member Functions inherited from EClass
static int rnd (int a)
 
static int curve (int a, int start, int step, int rate=75)
 
static int rndHalf (int a)
 
static float rndf (float a)
 
static int rndSqrt (int a)
 
static void Wait (float a, Card c)
 
static void Wait (float a, Point p)
 
static int Bigger (int a, int b)
 
static int Smaller (int a, int b)
 
- Static Public Attributes inherited from EClass
static Core core
 

Detailed Description

Definition at line 4 of file RankedZone.cs.

Member Function Documentation

◆ GetFactionName()

string RankedZone.GetFactionName ( )
inline

Definition at line 16 of file RankedZone.cs.

17 {
18 if (z.IsPCFaction)
19 {
20 return EClass.pc.faction.Name;
21 }
22 if (!z.source.faction.IsEmpty())
23 {
24 return EClass.sources.factions.map[z.source.faction].GetName();
25 }
26 return " - ";
27 }
Faction faction
Definition: Chara.cs:412
Definition: EClass.cs:5
static SourceManager sources
Definition: EClass.cs:42
static Chara pc
Definition: EClass.cs:14
string Name
Definition: FACTION.cs:148
Zone z
Definition: RankedZone.cs:6
SourceFaction factions
SourceZone.Row source
Definition: Spatial.cs:441
bool IsPCFaction
Definition: Zone.cs:464

References Chara.faction, SourceManager.factions, Zone.IsPCFaction, Faction.Name, EClass.pc, Spatial.source, EClass.sources, and z.

Referenced by ContentHomeRanking.Refresh().

◆ GetSprite()

Sprite RankedZone.GetSprite ( )
inline

Definition at line 29 of file RankedZone.cs.

30 {
31 return TilemapUtils.GetOrCreateTileSprite(EClass.scene.elomap.actor.tileset, z.icon);
32 }
static Scene scene
Definition: EClass.cs:30
Tileset tileset
Definition: EloMapActor.cs:15
EloMapActor actor
Definition: EloMap.cs:118
EloMap elomap
Definition: Scene.cs:143
int icon
Definition: Spatial.cs:82

References EloMap.actor, Scene.elomap, Spatial.icon, EClass.scene, EloMapActor.tileset, and z.

Referenced by ContentHomeRanking.Refresh().

Member Data Documentation

◆ rank

int RankedZone.rank

Definition at line 8 of file RankedZone.cs.

Referenced by ContentHomeRanking.Refresh().

◆ value

int RankedZone.value

Definition at line 10 of file RankedZone.cs.

◆ z

Zone RankedZone.z

Definition at line 6 of file RankedZone.cs.

Referenced by GetFactionName(), GetSprite(), and ContentHomeRanking.Refresh().

Property Documentation

◆ Name

string RankedZone.Name
get

Definition at line 14 of file RankedZone.cs.

Referenced by ContentHomeRanking.Refresh().

◆ Value

int RankedZone.Value
get

Definition at line 12 of file RankedZone.cs.


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