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

Public Attributes

Zone zone
 
EloMap.Cell cell
 
EloMap.TileInfo tile
 
int gx
 
int gy
 

Properties

EloMap elomap [get]
 
EloMapActor actor [get]
 
bool IInspect. CanInspect [get]
 
string IInspect. InspectName [get]
 
Point IInspect. InspectPoint [get]
 
Vector3 IInspect. InspectPosition [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]
 
- Properties inherited from IInspect
bool CanInspect [get]
 
string InspectName [get]
 
Point InspectPoint [get]
 
Vector3 InspectPosition [get]
 

Private Member Functions

void IInspect. OnInspect ()
 
void IInspect. WriteNote (UINote n, Action< UINote > onWriteNote=null, IInspect.NoteMode mode=IInspect.NoteMode.Default, Recipe recipe=null)
 

Additional Inherited Members

- Public Types inherited from IInspect
enum  NoteMode { Default , Recipe , Product , Info }
 
void WriteNote (UINote n, Action< UINote > onWriteNote=null, NoteMode mode=NoteMode.Default, Recipe recipe=null)
 
void OnInspect ()
 
- 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 EloPos.cs.

Member Function Documentation

◆ OnInspect()

void IInspect. EloPos.OnInspect ( )
inlineprivate

Implements IInspect.

Definition at line 28 of file EloPos.cs.

29 {
30 }

◆ WriteNote()

void IInspect. EloPos.WriteNote ( UINote  n,
Action< UINote onWriteNote = null,
IInspect::NoteMode  mode = IInspect::NoteMode::Default,
Recipe  recipe = null 
)
inlineprivate

Implements IInspect.

Definition at line 32 of file EloPos.cs.

33 {
34 n.Clear();
35 UIItem uIItem = n.AddHeaderCard(zone.Name);
36 uIItem.image2.sprite = tile.sprite;
37 uIItem.image2.SetNativeSize();
38 n.AddHeaderTopic("mainFaction".lang());
40 n.Space();
41 n.AddHeaderTopic("listRoamers".lang());
42 int num = 0;
43 foreach (Chara value in EClass.game.cards.globalCharas.Values)
44 {
45 if (value.currentZone == zone)
46 {
47 n.AddText(value.Name);
48 num++;
49 if (num > 5)
50 {
51 break;
52 }
53 }
54 }
55 if (num == 0)
56 {
57 n.AddText("????????");
58 }
59 n.Build();
60 }
GlobalCharaList globalCharas
Definition: CardManager.cs:46
string Name
Definition: Card.cs:2013
Definition: Chara.cs:10
Zone currentZone
Definition: Chara.cs:240
Definition: EClass.cs:5
static Game game
Definition: EClass.cs:8
Zone zone
Definition: EloPos.cs:6
EloMap.TileInfo tile
Definition: EloPos.cs:10
string name
Definition: FACTION.cs:133
CardManager cards
Definition: Game.cs:155
virtual string Name
Definition: Spatial.cs:495
Faction mainFaction
Definition: Spatial.cs:430
Definition: UIItem.cs:5
Image image2
Definition: UIItem.cs:16
UIItem AddHeaderCard(string text, Sprite sprite=null)
Definition: UINote.cs:84
UIItem AddHeaderTopic(string text, Sprite sprite=null)
Definition: UINote.cs:89
void Clear()
Definition: UINote.cs:35
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

References UINote.AddHeaderCard(), UINote.AddHeaderTopic(), UINote.AddText(), UINote.Build(), Game.cards, UINote.Clear(), Chara.currentZone, EClass.game, CardManager.globalCharas, UIItem.image2, Spatial.mainFaction, Card.Name, Faction.name, Spatial.Name, UINote.Space(), tile, and zone.

Member Data Documentation

◆ cell

EloMap.Cell EloPos.cell

Definition at line 8 of file EloPos.cs.

◆ gx

int EloPos.gx

Definition at line 12 of file EloPos.cs.

◆ gy

int EloPos.gy

Definition at line 14 of file EloPos.cs.

◆ tile

EloMap.TileInfo EloPos.tile

Definition at line 10 of file EloPos.cs.

Referenced by WriteNote().

◆ zone

Zone EloPos.zone

Definition at line 6 of file EloPos.cs.

Referenced by WriteNote().

Property Documentation

◆ actor

EloMapActor EloPos.actor
get

Definition at line 18 of file EloPos.cs.

◆ CanInspect

bool IInspect. EloPos.CanInspect
getprivate

Implements IInspect.

Definition at line 20 of file EloPos.cs.

◆ elomap

EloMap EloPos.elomap
get

Definition at line 16 of file EloPos.cs.

◆ InspectName

string IInspect. EloPos.InspectName
getprivate

Implements IInspect.

Definition at line 22 of file EloPos.cs.

◆ InspectPoint

Point IInspect. EloPos.InspectPoint
getprivate

Implements IInspect.

Definition at line 24 of file EloPos.cs.

◆ InspectPosition

Vector3 IInspect. EloPos.InspectPosition
getprivate

Implements IInspect.

Definition at line 26 of file EloPos.cs.


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