Elin Modding Docs Doc
Loading...
Searching...
No Matches
TimeTable Class Reference
Inheritance diagram for TimeTable:
EClass

Public Types

enum  Span { Free , Eat , Work , Sleep }
 

Public Member Functions

TimeTable.Span GetSpan (int hour)
 

Static Public Member Functions

static void Init ()
 
static TimeTable Add (string raw, string id)
 
static TimeTable GetTimeTable (string id)
 
static TimeTable.Span GetSpan (string id, int hour)
 
- 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)
 

Public Attributes

TimeTable.Span[] spans = new TimeTable.Span[24]
 

Static Public Attributes

static Dictionary< string, TimeTabledict = new Dictionary<string, TimeTable>()
 
- Static Public Attributes inherited from EClass
static Core core
 

Additional Inherited Members

- 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]
 

Detailed Description

Definition at line 5 of file TimeTable.cs.

Member Enumeration Documentation

◆ Span

enum TimeTable.Span

Definition at line 77 of file TimeTable.cs.

Member Function Documentation

◆ Add()

static TimeTable TimeTable.Add ( string raw,
string id )
static

Definition at line 20 of file TimeTable.cs.

◆ GetSpan() [1/2]

TimeTable.Span TimeTable.GetSpan ( int hour)

Definition at line 62 of file TimeTable.cs.

◆ GetSpan() [2/2]

static TimeTable.Span TimeTable.GetSpan ( string id,
int hour )
static

Definition at line 38 of file TimeTable.cs.

◆ GetTimeTable()

static TimeTable TimeTable.GetTimeTable ( string id)
static

Definition at line 32 of file TimeTable.cs.

◆ Init()

static void TimeTable.Init ( )
static

Definition at line 8 of file TimeTable.cs.

Member Data Documentation

◆ dict

Dictionary<string, TimeTable> TimeTable.dict = new Dictionary<string, TimeTable>()
static

Definition at line 68 of file TimeTable.cs.

◆ spans

TimeTable.Span [] TimeTable.spans = new TimeTable.Span[24]

Definition at line 74 of file TimeTable.cs.


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