Elin Decompiled Documentation EA 23.102 Nightly
Loading...
Searching...
No Matches
NumLog Class Reference
Inheritance diagram for NumLog:
EClass NumLogCategory NumLogStability NumLogWorth

Public Member Functions

void LogDay ()
 
void LogMonth ()
 

Public Attributes

List< int > list = new List<int>()
 
int lastDay
 

Properties

int maxMonth [get]
 
virtual Gross gross [get]
 
virtual string Name [get]
 
virtual int Value [get]
 
int lastMonth [get]
 
int lastYear [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 NumLog.cs.

Member Function Documentation

◆ LogDay()

void NumLog.LogDay ( )
inline

Definition at line 54 of file NumLog.cs.

55 {
56 lastDay = Value;
57 }
int lastDay
Definition: NumLog.cs:10
virtual int Value
Definition: NumLog.cs:19

References lastDay, and Value.

◆ LogMonth()

void NumLog.LogMonth ( )
inline

Definition at line 59 of file NumLog.cs.

60 {
61 list.Insert(0, Value);
62 if (list.Count >= maxMonth)
63 {
64 list.RemoveAt(list.Count - 1);
65 }
66 }
List< int > list
Definition: NumLog.cs:7
int maxMonth
Definition: NumLog.cs:12

References list, maxMonth, and Value.

Member Data Documentation

◆ lastDay

int NumLog.lastDay

Definition at line 10 of file NumLog.cs.

Referenced by LogDay(), and ItemNumLog.SetLog().

◆ list

List<int> NumLog.list = new List<int>()

Definition at line 7 of file NumLog.cs.

Referenced by LogMonth().

Property Documentation

◆ gross

virtual Gross NumLog.gross
get

Definition at line 14 of file NumLog.cs.

Referenced by ItemNumLog.SetLog().

◆ lastMonth

int NumLog.lastMonth
get

Definition at line 30 of file NumLog.cs.

31 {
32 get
33 {
34 if (list.Count <= 0)
35 {
36 return 0;
37 }
38 return list[0];
39 }
40 }

Referenced by ItemNumLog.SetLog().

◆ lastYear

int NumLog.lastYear
get

Definition at line 42 of file NumLog.cs.

43 {
44 get
45 {
46 if (list.Count <= 3)
47 {
48 return 0;
49 }
50 return list[3];
51 }
52 }

Referenced by ItemNumLog.SetLog().

◆ maxMonth

int NumLog.maxMonth
get

Definition at line 12 of file NumLog.cs.

Referenced by LogMonth().

◆ Name

virtual string NumLog.Name
get

Definition at line 16 of file NumLog.cs.

Referenced by ItemNumLog.SetLog().

◆ Value

virtual int NumLog.Value
get

Definition at line 18 of file NumLog.cs.

19 {
20 get
21 {
22 if (gross == null)
23 {
24 return 0;
25 }
26 return gross.Refresh();
27 }
28 }
virtual int Refresh()
Definition: Gross.cs:15
virtual Gross gross
Definition: NumLog.cs:14

Referenced by LogDay(), LogMonth(), and ItemNumLog.SetLog().


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