Elin Decompiled Documentation EA 23.102 Nightly
|
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 (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, 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 3 of file VirtualDate.cs.
|
inline |
Definition at line 15 of file VirtualDate.cs.
References World.date, Date.raw, and EClass.world.
|
inline |
Definition at line 54 of file VirtualDate.cs.
References EClass._map, PropsManager.installed, item, Trait.ListPoints(), Map.props, sunMap, TraitManager.suns, Card.trait, and Props.traits.
Referenced by GrowSystem.CanGrow(), and Zone.GrowPlants().
|
inline |
Definition at line 44 of file VirtualDate.cs.
References branchMap, and BranchMap.Refresh().
Referenced by FactionBranch.OnSimulateDay().
|
inline |
Definition at line 77 of file VirtualDate.cs.
References EClass._zone, Zone.OnSimulateDay(), and SimulateMonth().
Referenced by SimulateHour().
|
inline |
Definition at line 66 of file VirtualDate.cs.
References EClass._zone, Zone.OnSimulateHour(), and SimulateDay().
Referenced by GameDate.AdvanceHour(), and Zone.Simulate().
|
inline |
Definition at line 88 of file VirtualDate.cs.
References EClass._zone, Zone.OnSimulateMonth(), and SimulateYear().
Referenced by SimulateDay().
|
inline |
Definition at line 99 of file VirtualDate.cs.
Referenced by SimulateMonth().
BranchMap VirtualDate.branchMap |
Definition at line 11 of file VirtualDate.cs.
Referenced by GetBranchMap().
|
static |
Definition at line 5 of file VirtualDate.cs.
bool VirtualDate.IsRealTime |
Definition at line 7 of file VirtualDate.cs.
Referenced by MeetingManager.Add(), FactionBranch.OnSimulateDay(), Card.OnSimulateHour(), FactionBranch.OnSimulateHour(), TraitClock.OnSimulateHour(), TraitFertilizer.OnSimulateHour(), TraitGenerator.OnSimulateHour(), TraitPhone.OnSimulateHour(), Zone.OnSimulateHour(), Zone.OnSimulateMonth(), and Chara.TickWork().
HashSet<int> VirtualDate.sunMap |
Definition at line 9 of file VirtualDate.cs.
Referenced by BuildSunMap(), GrowSystem.CanGrow(), and Zone.GrowPlants().
|
staticget |
Definition at line 13 of file VirtualDate.cs.
Referenced by ElementContainerCard.OnLevelUp(), and ElementContainerZone.OnLevelUp().