Elin Decompiled Documentation EA 23.102 Nightly
|
Public Types | |
enum | TextFormat { Default , Log , Widget , Schedule , Travel , YearMonthDay , LogPlusYear } |
Public Member Functions | |
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) |
Static Public Member Functions | |
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) |
Public Attributes | |
int[] | raw = new int[6] |
Static Public Attributes | |
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 | |
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] |
enum Date.TextFormat |
Enumerator | |
---|---|
Default | |
Log | |
Widget | |
Schedule | |
Travel | |
YearMonthDay | |
LogPlusYear |
Definition at line 5 of file Date.cs.
|
inline |
|
inline |
Definition at line 215 of file Date.cs.
References AddDay(), and hour.
Referenced by Weather.GetForecast(), Weather.GetWeatherForecast(), and Weather.RefreshForecasts().
|
inline |
|
inline |
Definition at line 197 of file Date.cs.
References day, hour, min, month, sec, and year.
Referenced by GameIndex.Create(), Weather.GetWeatherForecast(), FortuneRollData.Refresh(), and Weather.RefreshForecasts().
|
inlinestatic |
|
inline |
Definition at line 352 of file Date.cs.
References GetRaw().
Referenced by Player.MoveZone().
|
inline |
Definition at line 347 of file Date.cs.
References GetRaw().
Referenced by Weather.GetTimeSinceLastRain().
|
inline |
Definition at line 322 of file Date.cs.
References day, hour, min, month, and year.
Referenced by InvOwnerGene._OnProcess(), Zone.AbandonZone(), Zone.Activate(), MeetingManager.Add(), FactionBranch.AddRecruit(), Faction.AddReserve(), DramaCustomSequence.Build(), Card.CheckJustCooked(), Region.CheckRandomSites(), Zone.ClaimZone(), SpatialGen.CreateInstance(), Region.CreateRandomSite(), Zone.Deactivate(), DramaOutcome.get_scratch(), GetElapsedHour(), GetElapsedMins(), MsgLog.GetList(), GetRemainingHours(), GetRemainingSecs(), Quest.Init(), IsExpired(), Quest.IsVisibleOnQuestBoard(), TraitMoongate.LoadMap(), RecipeCard.MakeDish(), Player.MoveZone(), Trait.OnBarter(), BaseListPeople.OnClick(), QuestLoytelFarm.OnComplete(), QuestShippingChest.OnComplete(), QuestVernis.OnComplete(), FactionBranch.OnCreate(), QuestDialog.OnDropReward(), Zone_Field.OnGenerateMap(), Game.OnLoad(), QuestIntoDarkness.OnStart(), Player.OnStartNewGame(), TraitHat.OnUse(), Zone.OnVisit(), FoodEffect.Proc(), FortuneRollData.Refresh(), LayerTravel.Refresh(), Zone.Revive(), AI_Idle.Run(), AI_Slaughter.Run(), AI_Steal.Run(), Weather.SetCondition(), GameDate.ShipGoods(), SlaverData.TryRefresh(), Chara.TryWorkOutside(), and Zone.UpdateQuests().
|
inline |
|
inline |
|
inline |
Definition at line 337 of file Date.cs.
References GetRaw().
Referenced by TraitGeneMachine.GetProgress(), TraitGeneMachine.GetProgressText(), Trait.GetTextRestock(), BaseListPeople.OnClick(), LayerTravel.Refresh(), and Zone.ToString().
|
inline |
|
inlinestatic |
Definition at line 291 of file Date.cs.
References hour, and ToString().
|
inlinestatic |
|
inline |
Definition at line 245 of file Date.cs.
References day, Lang.Get(), hour, min, month, NameMonth, sec, and year.
Referenced by WidgetDate._Refresh(), GetText(), Trait.GetTextRestock(), Player.MoveZone(), BaseListPeople.OnClick(), UIHomeInfo.RefreshInfo(), ItemQuest.SetQuest(), and ToString().
|
inlinestatic |
|
inline |
Definition at line 332 of file Date.cs.
References GetRaw().
Referenced by Zone.Activate(), DramaCustomSequence.Build(), Zone.CanDestroy(), Chara.CanRevive(), Region.CheckRandomSites(), Trait.GetRestockedIcon(), Trait.OnBarter(), BaseListPeople.OnClick(), MeetingManager.OnSimulateHour(), Zone.OnVisit(), Zone.RefreshHat(), AIWork.SetDestination(), SlaverData.TryRefresh(), TraitCoreZone.TrySetAct(), and Chara.TryWorkOutside().
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Definition at line 393 of file Date.cs.
References day, GetDateArray(), hour, min, month, raw, and year.
Referenced by GetText(), and LayerShippingResult.Show().
|
inline |
int [] Date.raw = new int[6] |
Definition at line 19 of file Date.cs.
Referenced by GetDateArray(), GetText(), ToDate(), and VirtualDate.VirtualDate().
|
getset |
Definition at line 61 of file Date.cs.
Referenced by AddDay(), Copy(), GetRaw(), GetRawDay(), GetRawReal(), GetText(), Weather.GetWeatherForecast(), LayerNewspaper.OnInit(), ContentHomeReport.RefreshInfo(), UIHomeInfo.RefreshInfo(), UIHomeInfo.RefreshReport(), HotItemContext.Show(), ToDate(), and Thing.TryLickEnchant().
|
getset |
Definition at line 73 of file Date.cs.
Referenced by AddHour(), Chara.ChooseNewGoal(), Copy(), GetRaw(), GetRawReal(), GetText(), GetText2(), WidgetArtTool.OnActivate(), Region.OnAdvanceHour(), TraitDaggerGrave.OnUse(), Chara.TickWork(), ToDate(), and Trait.TryToggle().
|
get |
|
get |
Definition at line 109 of file Date.cs.
Referenced by GameUpdater.Update().
|
get |
Definition at line 111 of file Date.cs.
Referenced by BaseTileMap.DrawTile(), Card.GetLightRadius(), BaseGameScreen.RefreshSky(), CoreConfig.RefreshUIBrightness(), BaseGameScreen.RefreshWeather(), AI_Idle.Run(), and Zone.Simulate().
|
get |
|
get |
|
get |
Definition at line 185 of file Date.cs.
Referenced by GrowSystem.CanGrow(), and Zone.GrowPlants().
|
getset |
Definition at line 85 of file Date.cs.
Referenced by Copy(), GetRaw(), GetRawReal(), GetText(), MinToDayAndHour(), ToDate(), and Scene.UpdateTimeRatio().
|
getset |
Definition at line 49 of file Date.cs.
Referenced by AddMonth(), Copy(), GetRaw(), GetRawDay(), GetRawReal(), GetText(), ContentHomeReport.RefreshInfo(), UIHomeInfo.RefreshInfo(), and ToDate().
|
get |
Definition at line 123 of file Date.cs.
Referenced by WidgetDate._Refresh(), and Card.GetLightRadius().
|
getset |
|
getset |
Definition at line 37 of file Date.cs.
Referenced by AddMonth(), Copy(), GetRaw(), GetRawDay(), GetRawReal(), GetText(), LayerNewspaper.OnInit(), ContentHomeReport.RefreshInfo(), UIHomeInfo.RefreshInfo(), LayerShippingResult.Show(), and ToDate().