|
Elin Decompiled Documentation EA 23.223 Nyaightly
|
Public Member Functions | |
| void | AdvanceSec (int a) |
| void | AdvanceMin (int a) |
| void | AdvanceHour () |
| void | AdvanceDay () |
| void | AdvanceMonth () |
| void | AdvanceYear () |
| void | ShipGoods () |
| void | ShipPackages () |
| void | ShipLetter () |
| void | ShipRandomPackages () |
Public Member Functions inherited from Date | |
| 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 | shaken |
Public Attributes inherited from Date | |
| int[] | raw = new int[6] |
Static Public Attributes | |
| const int | minPerRound = 5 |
Static Public Attributes inherited from Date | |
| 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 Public Attributes inherited from EClass | |
| static Core | core |
Additional Inherited Members | |
Public Types inherited from Date | |
| enum | TextFormat { Default , Log , Widget , Schedule , Travel , YearMonthDay , LogPlusYear } |
Static Public Member Functions inherited from Date | |
| 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 Public Member Functions inherited from EClass | |
| static int | rndSeed (int a, int seed) |
| static int | rnd (long a) |
| 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) |
Properties inherited from Date | |
| 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] |
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] |
Definition at line 5 of file GameDate.cs.
|
inline |
Definition at line 145 of file GameDate.cs.
References WidgetSticky.Add(), QuestManager.Add(), AdvanceMonth(), Game.cards, QuestManager.completedIDs, ThingGen.Create(), World.CreateDayData(), ThingGen.CreateParcel(), Chara.currentZone, Player.Stats.days, Player.Flags.daysAfterQuestExploration, Card.Evalue(), Chara.faction, CardManager.GlobalCharaList.Find(), Player.flags, EClass.game, QuestManager.GetGlobal(), CardManager.globalCharas, Chara.homeZone, QuestManager.IsCompleted(), item, CardManager.listAdv, Region.ListTowns(), Player.Flags.magicChestSent, Spatial.mainFaction, Chara.OnAdvanceDay(), Faction.OnAdvanceDay(), Player.OnAdvanceDay(), EClass.pc, EClass.player, Player.prayed, Player.questRerollCost, Game.quests, World.region, Game.relations, Tutorial.Reserve(), EClass.rnd(), Msg.Say(), World.SendPackage(), BaseCard.SetStr(), shaken, EClass.Sound, Game.StartZone, Player.stats, ActPray.TryPray(), RelationManager.UpdateRelations(), and EClass.world.
Referenced by AdvanceHour().
|
inline |
Definition at line 71 of file GameDate.cs.
References EClass._zone, Game.activeZone, AdvanceDay(), GlobalGoal.AdvanceHour(), Game.cards, Region.CheckRandomSites(), Core.config, EClass.core, Chara.currentZone, CoreConfig.GraphicSetting.disableShake, EClass.game, Chara.global, CardManager.globalCharas, GlobalData.goal, CoreConfig.graphic, Chara.IsPCFaction, Chara.IsPCParty, Spatial.IsRegion, CardManager.listPackage, Player.OnAdvanceHour(), QuestManager.OnAdvanceHour(), Zone.OnAdvanceHour(), Scene.OnChangeHour(), Weather.OnChangeHour(), EClass.pc, EClass.player, Game.quests, Card.RecalculateFOV(), Zone.Region, Tutorial.Remove(), Tutorial.Reserve(), EClass.rnd(), Msg.Say(), EClass.scene, GlobalGoal.SetOwner(), Shaker.ShakeCam(), shaken, ShipGoods(), ShipLetter(), ShipPackages(), ShipRandomPackages(), VirtualDate.SimulateHour(), GlobalGoal.Start(), Chara.trait, TraitChara.UseGlobalGoal, World.weather, and EClass.world.
Referenced by AdvanceMin(), WidgetArtTool.OnActivate(), and LayerTravel.Refresh().
|
inline |
Definition at line 22 of file GameDate.cs.
References EClass._map, EClass._zone, AdvanceHour(), Point.cell, Core.config, EClass.core, Player.countNewline, Point.detail, Zone.events, CellDetail.footmark, Map.footmarks, CoreConfig.game, item, ZoneEventManager.list, Msg.NewLine(), CoreConfig.GameConfig.newlineCount, PCOrbit.OnChangeMin(), BaseGameScreen.pcOrbit, EClass.player, Footmark.pos, BaseGameScreen.RefreshGrading(), Footmark.remaining, EClass.screen, and Cell.TryDespawnDetail().
Referenced by Chara._Move(), LayerSleep.Advance(), AdvanceSec(), GameUpdater.Update(), and CoreDebug.UpdateInput().
|
inline |
Definition at line 218 of file GameDate.cs.
References EClass._map, AdvanceYear(), Chara.faction, CardRenderer.hasActor, Player.holyWell, Player.Stats.months, Player.nums, Faction.OnAdvanceMonth(), NumLogManager.OnAdvanceMonth(), EClass.pc, EClass.player, Map.RefreshAllTiles(), CardRenderer.RefreshSprite(), Card.renderer, Player.stats, and Map.things.
Referenced by AdvanceDay().
|
inline |
Definition at line 12 of file GameDate.cs.
References AdvanceMin().
|
inline |
Definition at line 243 of file GameDate.cs.
References ThingGen.Create(), Player.nums, NumLogManager.OnAdvanceYear(), EClass.player, World.SendPackage(), and EClass.world.
Referenced by AdvanceMonth().
|
inline |
Definition at line 252 of file GameDate.cs.
References MsgLog.Add(), Zone.branch, Trait.CanBeShipped, Game.cards, Core.config, CardManager.container_shipping, EClass.core, ThingGen.Create(), World.date, Player.debt, Card.Destroy(), FactionBranch.exp, SpatialManager.Find(), CoreConfig.game, EClass.game, Card.GetPrice(), Date.GetRaw(), Player.Stats.GetShippingBonus(), Chara.homeBranch, Chara.homeZone, item, FactionBranch.log, FactionBranch.lv, Card.Name, Card.Num, EClass.pc, Chara.Pick(), EClass.player, EClass.rndHalf(), Msg.Say(), Card.SetNum(), Player.Stats.shipMoney, Player.shippingResults, CoreConfig.GameConfig.showShippingResult, Game.spatials, Player.stats, Card.things, Card.trait, Spatial.uid, Player.uidLastShippedZone, and EClass.world.
Referenced by AdvanceHour().
|
inline |
Definition at line 409 of file GameDate.cs.
References ThingGen.Create(), Player.Stats.days, Player.flags, Player.Flags.lutz, EClass.player, World.SendPackage(), BaseCard.SetStr(), Player.stats, and EClass.world.
Referenced by AdvanceHour().
|
inline |
Definition at line 364 of file GameDate.cs.
References Card.AddCard(), bill, Game.cards, CardManager.container_deliver, ThingGen.CreateBill(), ThingGen.CreateCardboardBox(), Debug, Chara.faction, EClass.game, BaseCard.GetInt(), ThingContainer.IsFull(), EClass.pc, World.SendPackage(), BaseCard.SetInt(), Card.things, Faction.TryPayBill(), and EClass.world.
Referenced by AdvanceHour().
|
inline |
Definition at line 454 of file GameDate.cs.
References Add(), Card.AddCard(), ThingGen.Create(), ThingGen.CreateCardboardBox(), ThingGen.CreateFromCategory(), ThingGen.CreateFromTag(), EClass.debug, CoreDebug.enable, Player.flags, SpawnList.Get(), Chara.homeBranch, CardRow.id, PolicyManager.IsActive(), Card.LV, EClass.pc, EClass.player, FactionBranch.policies, TraitBaseContainer.PutChara(), EClass.rnd(), SpawnList.Select(), World.SendPackage(), Card.SetNum(), Player.Flags.statueShipped, and EClass.world.
Referenced by AdvanceHour().
|
static |
Definition at line 10 of file GameDate.cs.
| bool GameDate.shaken |
Definition at line 8 of file GameDate.cs.
Referenced by AdvanceDay(), and AdvanceHour().