Elin Modding Docs Doc
|
Public Member Functions | |
VirtualDate (int elapsedHours=0) | |
BranchMap | GetBranchMap () |
void | BuildSunMap () |
void | SimulateHour () |
void | SimulateDay () |
void | SimulateMonth () |
void | SimulateYear () |
![]() | |
Date | Copy () |
override string | ToString () |
void | AddHour (int a) |
void | AddDay (int a) |
void | AddMonth (int a) |
string | GetText (Date.TextFormat format) |
int | GetRawReal (int offsetHours=0) |
int | GetRaw (int offsetHours=0) |
int | GetRawDay () |
bool | IsExpired (int time) |
int | GetRemainingHours (int rawDeadLine) |
int | GetRemainingSecs (int rawDeadLine) |
int | GetElapsedMins (int rawDate) |
int | GetElapsedHour (int rawDate) |
Public Attributes | |
bool | IsRealTime |
HashSet< int > | sunMap |
BranchMap | branchMap |
![]() | |
int[] | raw = new int[6] |
Static Public Attributes | |
static Date | current |
![]() | |
const int | ShippingHour = 5 |
const int | HourToken = 60 |
const int | DayToken = 1440 |
const int | MonthToken = 43200 |
const int | YearToken = 518400 |
const int | HourTokenReal = 60 |
const int | DayTokenReal = 1440 |
const int | MonthTokenReal = 46080 |
const int | YearTokenReal = 552960 |
![]() | |
static Core | core |
Properties | |
static bool | IsActive [get] |
![]() | |
int | year [get, set] |
int | month [get, set] |
int | day [get, set] |
int | hour [get, set] |
int | min [get, set] |
int | sec [get, set] |
bool | IsDay [get] |
bool | IsNight [get] |
PeriodOfDay | periodOfDay [get] |
string | NameMonth [get] |
string | NameMonthShort [get] |
string | NameTime [get] |
bool | IsSpring [get] |
bool | IsSummer [get] |
bool | IsAutumn [get] |
bool | IsWinter [get] |
![]() | |
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 | |
![]() | |
enum | TextFormat { Default , Log , Widget , Schedule , Travel , YearMonthDay , LogPlusYear } |
![]() | |
static string | GetText (int raw, Date.TextFormat format) |
static string | GetText (int hour) |
static string | GetText2 (int hour) |
static string | SecToDate (int sec) |
static string | MinToDayAndHour (int min) |
static int[] | GetDateArray (int raw) |
static Date | ToDate (int raw) |
![]() | |
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) |
Definition at line 6 of file VirtualDate.cs.
VirtualDate.VirtualDate | ( | int | elapsedHours = 0 | ) |
Definition at line 19 of file VirtualDate.cs.
void VirtualDate.BuildSunMap | ( | ) |
Definition at line 64 of file VirtualDate.cs.
BranchMap VirtualDate.GetBranchMap | ( | ) |
Definition at line 53 of file VirtualDate.cs.
void VirtualDate.SimulateDay | ( | ) |
Definition at line 91 of file VirtualDate.cs.
void VirtualDate.SimulateHour | ( | ) |
Definition at line 78 of file VirtualDate.cs.
void VirtualDate.SimulateMonth | ( | ) |
Definition at line 104 of file VirtualDate.cs.
void VirtualDate.SimulateYear | ( | ) |
Definition at line 117 of file VirtualDate.cs.
BranchMap VirtualDate.branchMap |
Definition at line 133 of file VirtualDate.cs.
|
static |
Definition at line 124 of file VirtualDate.cs.
bool VirtualDate.IsRealTime |
Definition at line 127 of file VirtualDate.cs.
HashSet<int> VirtualDate.sunMap |
Definition at line 130 of file VirtualDate.cs.
|
staticget |
Definition at line 10 of file VirtualDate.cs.