Elin Decompiled Documentation EA 23.102 Nightly
|
Public Member Functions | |
override void | OnAfterInit () |
void | Wait (float duration=5f) |
void | Sleep (int _hours, Thing _bed, Thing _pillow=null) |
void | Advance () |
![]() | |
override void | OnBeforeAddLayer () |
void | InitInspector () |
sealed override void | Init () |
override void | OnAfterAddLayer () |
void | TryShowHelp () |
void | AddLayerToUI (string id) |
void | TryShowHint (string _langHint=null) |
void | TalkHomeMemeber (string id) |
void | TalkMaid (string id) |
override void | OnRightClick () |
![]() | |
virtual string | GetTextHeader (Window window) |
virtual bool | HeaderIsListOf (int id) |
virtual void | Init () |
virtual void | OnInit () |
virtual void | OnAfterInit () |
virtual void | ApplySkin () |
void | ShowScreenLock (string id) |
void | UpdateInput () |
virtual void | OnUpdateInput () |
virtual void | OnRightClick () |
virtual bool | OnBack () |
virtual void | OnChangeLayer () |
virtual void | OnCreate () |
void | _AddLayer (string id) |
Layer | AddLayer (string id) |
T | AddLayer< T > () |
T | AddLayer< T > (string id) |
T | AddLayerDontCloseOthers< T > () |
Layer | AddLayerDontCloseOthers (Layer l) |
T | GetOrAddLayer< T > () |
virtual void | OnBeforeAddLayer () |
virtual void | OnAfterAddLayer () |
Layer | AddLayer (Layer l) |
void | ToggleLayer (string id) |
T | ToggleLayer< T > (string id=null) |
void | WaitAndClose () |
void | OnClickClose () |
virtual void | Close () |
void | CloseLayers () |
void | RemoveLayers (bool removeImportant=false) |
bool | RemoveLayer< T > () |
void | RemoveLayer (Layer l) |
virtual void | OnKill () |
Layer | SetOnKill (Action action) |
void | DisableClose () |
void | Delay (float duration=0.05f) |
Layer | SetDelay (float d) |
Layer | GetLayer (string id) |
T | GetLayer< T > (bool fromTop=false) |
Layer | GetTopLayer () |
void | SwitchContent (int idWindow, int i) |
virtual void | OnSwitchContent (Window window) |
Layer | SetTitles (string langList, string idHeaderRow=null) |
bool | IsBlockWidgetClick () |
bool | IsHideHud () |
bool | IsAllowGeneralInput () |
bool | IsUseBlur () |
bool | IsPointerOnLayer () |
void | ApplySkin () |
Public Attributes | |
float | repeatRate |
float | coverAlpha |
float | coverShow |
float | coverHide |
float | hideDelay |
![]() | |
Option | option |
UnityEvent | onKill |
Anime | animeIn |
Anime | animeOut |
bool | closeOthers |
bool | defaultActionMode = true |
Button | screenLock |
Layer | parent |
string | idLayer |
List< Layer > | layers = new List<Layer>() |
Vector2 | lastParentPos |
List< Window > | windows = new List<Window>() |
string | langHint |
Private Attributes | |
int | hours |
int | min |
int | maxMin |
Thing | bed |
Thing | pillow |
Additional Inherited Members | |
![]() | |
static int | rnd (int a) |
![]() | |
static T | Create< T > () |
static T | Create< T > (string path) |
static Layer | Create (string path) |
![]() | |
static int | skipInput |
static bool | closeOnRightClick |
static bool | rightClicked |
static bool | cancelKeyDown |
static bool | ignoreSounds |
static Transform | blurStopInstance |
static string[] | searchPath = new string[3] { "Layer", "Layer/Dialog", "Layer/LayerHome" } |
![]() | |
sealed override void | _Close () |
sealed override void | Kill () |
![]() | |
virtual void | Awake () |
virtual void | _Close () |
virtual void | Kill () |
![]() | |
RectTransform | _rect |
bool | isDestroyed |
![]() | |
static Core | core [get] |
static Game | game [get] |
static bool | AdvMode [get] |
static Player | player [get] |
static Chara | pc [get] |
static FactionBranch | Branch [get] |
static Faction | Home [get] |
static UI | ui [get] |
static Map | _map [get] |
static Zone | _zone [get] |
static Scene | scene [get] |
static BaseGameScreen | screen [get] |
static CoreConfig | config [get] |
static GameSetting | setting [get] |
static ColorProfile | Colors [get] |
static SourceManager | sources [get] |
static World | world [get] |
static SoundManager | Sound [get] |
static CoreDebug | debug [get] |
bool | IsFloat [get] |
virtual string | IdHelp [get] |
![]() | |
Layer | TopLayer [get] |
string | uid [get] |
virtual RectTransform | rectLayers [get] |
virtual bool | blockWidgetClick [get] |
Definition at line 1 of file LayerSleep.cs.
|
inline |
Definition at line 52 of file LayerSleep.cs.
References ELayer._zone, GameDate.AdvanceMin(), bed, Layer.Close(), coverHide, World.date, ELayer.debug, ELayer.game, UI.HideCover(), hideDelay, hours, CoreDebug.ignoreAutoSave, Zone.IsInstance, Zone.IsPCFaction, Spatial.IsRegion, maxMin, Party.members, min, Chara.OnSleep(), Chara.party, ELayer.pc, pillow, ELayer.player, World.region, Zone.Region, Region.RenewRandomSites(), Game.Save(), Msg.Say(), UI.ShowCover(), Player.SimulateFaction(), Card.trait, ELayer.ui, Region.UpdateRandomSites(), and ELayer.world.
|
inlinevirtual |
Reimplemented from Layer.
Definition at line 23 of file LayerSleep.cs.
References coverAlpha, coverShow, UI.ShowCover(), and ELayer.ui.
Definition at line 40 of file LayerSleep.cs.
References bed, Chara.faith, hours, maxMin, ELayer.pc, pillow, ELayer.player, repeatRate, Religion.Revelation(), Player.Stats.slept, ELayer.Sound, and Player.stats.
|
inline |
Definition at line 28 of file LayerSleep.cs.
References Layer.Close(), coverHide, UI.HideCover(), ELayer.Sound, and ELayer.ui.
|
private |
Definition at line 19 of file LayerSleep.cs.
float LayerSleep.coverAlpha |
Definition at line 5 of file LayerSleep.cs.
Referenced by OnAfterInit().
float LayerSleep.coverHide |
Definition at line 9 of file LayerSleep.cs.
float LayerSleep.coverShow |
Definition at line 7 of file LayerSleep.cs.
Referenced by OnAfterInit().
float LayerSleep.hideDelay |
Definition at line 11 of file LayerSleep.cs.
Referenced by Advance().
|
private |
Definition at line 13 of file LayerSleep.cs.
|
private |
Definition at line 17 of file LayerSleep.cs.
|
private |
Definition at line 15 of file LayerSleep.cs.
Referenced by Advance().
|
private |
Definition at line 21 of file LayerSleep.cs.
float LayerSleep.repeatRate |
Definition at line 3 of file LayerSleep.cs.
Referenced by Sleep().