|
Elin Decompiled Documentation EA 23.285 Nightly
|
Public Types | |
| enum | InputType { None , Default , Password , Item , DistributionFilter , Chat } |
Public Member Functions | |
| override void | OnAfterInit () |
| void | AddButton (string text, Action onClick=null, bool close=true) |
| override bool | OnBack () |
| override void | OnUpdateInput () |
| void | OnEnterInput () |
| override void | OnKill () |
Public Member Functions inherited from ELayer | |
| 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 () |
Public Member Functions inherited from Layer | |
| 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 () |
Static Public Member Functions | |
| static Dialog | CreateNarration (string idImage, string idText) |
| static Dialog | Ok (string langDetail, Action action=null) |
| static Dialog | Choice (string langDetail, Action< Dialog > action) |
| static Dialog | YesNo (string langDetail, Action actionYes, Action actionNo=null, string langYes="yes", string langNo="no") |
| static Dialog | List< TValue > (string langDetail, ICollection< TValue > items, Func< TValue, string > getString, Func< int, string, bool > onSelect, bool canCancel=false) |
| static void | TryWarn (string lang, Action action, bool yes=true, string text=null) |
| static void | TryWarnSlaughter (Action action, Chara c) |
| static void | TryWarnCrime (Action action) |
| static void | TryWarnMana (Action action) |
| static void | TryWarnDisassemble (Action action) |
| static Dialog | Gift (string langHeader, bool autoAdd, params Card[] cards) |
| static Dialog | Gift (string langHeader, bool autoAdd, List< Card > list) |
| static Dialog | Gift (string langHeader, bool autoAdd, List< GridItem > list) |
| static Dialog | Recipe (List< RecipeSource > list) |
| static Dialog | Confetti (string langTitle, string langDetail, string langConfetti="Grats!") |
| static Dialog | ConfettiSimple (string langTitle, string langDetail, string langConfetti="Grats!") |
| static Dialog | _Confetti (string idPrefab, string langTitle, string langDetail, string langConfetti="Grats!") |
| static Dialog | Keymap (EInput.KeyMap keymap) |
| static Dialog | InputName (string langDetail, string text, Action< bool, string > onClose, InputType inputType=InputType.Default) |
Static Public Member Functions inherited from ELayer | |
| static int | rnd (int a) |
Static Public Member Functions inherited from Layer | |
| static T | Create< T > () |
| static T | Create< T > (string path) |
| static Layer | Create (string path) |
Public Attributes | |
| Text | textConfetti |
| Image | image |
| UIText | textDetail |
| UINote | note |
| UIButtonList | list |
| LayoutGroup | layout |
| ScreenEffect | effect |
| UIList | listGrid |
| Transform | spacer |
| List< GridItem > | gridItems = new List<GridItem>() |
| UIInputText | input |
| InputType | inputType |
| EInput.KeyMap | keymap |
| bool | isInputEnter |
| Action< bool, string > | onEnterInput |
Public Attributes inherited from Layer | |
| 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 |
Static Public Attributes | |
| static bool | warned |
Static Public Attributes inherited from Layer | |
| 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" } |
Private Member Functions | |
| void | Update () |
Additional Inherited Members | |
Protected Member Functions inherited from ELayer | |
| sealed override void | _Close () |
| sealed override void | Kill () |
Protected Member Functions inherited from Layer | |
| virtual void | Awake () |
| virtual void | _Close () |
| virtual void | Kill () |
Protected Attributes inherited from Layer | |
| RectTransform | _rect |
| bool | isDestroyed |
Properties inherited from ELayer | |
| 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] |
Properties inherited from Layer | |
| Layer | TopLayer [get] |
| string | uid [get] |
| virtual RectTransform | rectLayers [get] |
| virtual bool | blockWidgetClick [get] |
| enum Dialog.InputType |
|
inlinestatic |
Definition at line 514 of file Dialog.cs.
References UIButtonList.AddButton(), Layer.Create(), Lang.Get(), list, UIText.SetText(), textDetail, and ELayer.ui.
Referenced by Confetti(), and ConfettiSimple().
|
inline |
Definition at line 101 of file Dialog.cs.
References UIButtonList.AddButton(), Layer.Close(), and list.
Referenced by ListPeopleCallReserve.OnInstantiate().
Definition at line 243 of file Dialog.cs.
References Layer.Create(), UIText.SetText(), textDetail, and ELayer.ui.
Referenced by ListPeopleCallReserve.OnInstantiate().
|
inlinestatic |
Definition at line 502 of file Dialog.cs.
References _Confetti(), and ELayer.Sound.
|
inlinestatic |
|
inlinestatic |
Definition at line 220 of file Dialog.cs.
References Layer.Create(), image, UIText.SetText(), textDetail, and CorePath.CorePackage.TextNarration.
Referenced by LayerNewZone.Embark().
Definition at line 433 of file Dialog.cs.
Definition at line 446 of file Dialog.cs.
References UIButtonList.AddButton(), UINote.AddHeader(), Layer.Close(), Layer.Create(), Lang.Get(), item, list, note, ELayer.Sound, spacer, and ELayer.ui.
Definition at line 428 of file Dialog.cs.
References Gift().
Referenced by Gift(), DramaOutcome.nerun_gift(), DramaOutcome.nerun_gift2(), and DramaOutcome.nerun_gift3().
|
inlinestatic |
Definition at line 536 of file Dialog.cs.
References UIButtonList.AddButton(), UINote.AddText(), Layer.Close(), Layer.Create(), Lang.Get(), input, inputType, list, note, UIInputText.Text, and ELayer.ui.
Referenced by AM_Adv._OnUpdateInput(), ActPlan._Update(), UICharaMaker.EditName(), BaseArea.ListInteractions(), BaseListPeople.OnClick(), HotAction.OnShowContextMenu(), Scene.OnUpdate(), TraitDetector.OnUse(), ContentConfigOther.OpenBackerCodeInput(), ActEffect.Proc(), LayerLoadGame.RefreshInfo(), UIInventory.RefreshMenu(), TraitCoreZone.TrySetAct(), TraitNote.TrySetAct(), TraitTeleporter.TrySetAct(), and TraitWaystone.TrySetAct().
|
inlinestatic |
Definition at line 527 of file Dialog.cs.
References EInput.action, Layer.Create(), keymap, UIText.SetText(), textDetail, and ELayer.ui.
Referenced by ContentConfigInput.OnInstantiate().
|
inlinestatic |
Definition at line 276 of file Dialog.cs.
References Layer.Create(), item, UIText.SetText(), textDetail, and ELayer.ui.
|
inlinestatic |
Definition at line 230 of file Dialog.cs.
References UIButtonList.AddButton(), Layer.Close(), Layer.Create(), Lang.Get(), list, Layer.SetOnKill(), UIText.SetText(), textDetail, and ELayer.ui.
Referenced by Steam.CreateUserContent2(), LayerConfig.Refresh(), and UI.ToggleFeedback().
|
inlinevirtual |
Reimplemented from Layer.
Definition at line 52 of file Dialog.cs.
References UIList.Add(), UIList.Clear(), UIInputText.Focus(), gridItems, input, list, listGrid, GridItem.OnClick(), UIList.Refresh(), UIListEx< T >.Refresh(), ButtonGrid.SetItem(), textDetail, ELayer.ui, EInput.WaitReleaseKey(), and Layer.windows.
|
inlinevirtual |
Reimplemented from Layer.
Definition at line 124 of file Dialog.cs.
References keymap, ButtonState.pressing, EInput.rightMouse, and ButtonState.usedKey.
|
inline |
Definition at line 200 of file Dialog.cs.
References Layer.Close(), and isInputEnter.
|
inlinevirtual |
Reimplemented from Layer.
Definition at line 206 of file Dialog.cs.
References UIInputText.field, input, isInputEnter, onEnterInput, UIInputText.Text, ELayer.ui, and EInput.WaitReleaseKey().
|
inlinevirtual |
Reimplemented from Layer.
Definition at line 133 of file Dialog.cs.
References Layer.Option.canClose, Layer.Close(), Core.config, ELayer.core, CoreConfig.input, input, isInputEnter, item, keymap, CoreConfig.InputSetting.keys, UIButton.keyText, list, Layer.option, and EInput.waitReleaseAnyKey.
|
inlinestatic |
Definition at line 470 of file Dialog.cs.
References UIButtonList.AddButton(), UINote.AddHeader(), UINote.AddText(), SourceManager.cards, Layer.Close(), Layer.Create(), Lang.Get(), RecipeSource.GetIngredients(), list, SourceCard.map, RecipeSource.Name, note, Layer.SetOnKill(), ELayer.Sound, ELayer.sources, UINote.Space(), spacer, and ELayer.ui.
|
inlinestatic |
Definition at line 298 of file Dialog.cs.
References BaseCore.actionsNextFrame, UIButtonList.AddButton(), Layer.Close(), ELayer.core, Layer.Create(), Lang.Get(), list, Layer.SetOnKill(), UIText.SetText(), textDetail, ELayer.ui, and warned.
Referenced by TryWarnCrime(), TryWarnDisassemble(), Scene.TryWarnLinuxMod(), Scene.TryWarnMacScreen(), TryWarnMana(), and TryWarnSlaughter().
|
inlinestatic |
Definition at line 384 of file Dialog.cs.
References Core.config, ELayer.core, CoreConfig.game, CoreConfig.GameConfig.ignoreWarnCrime, TryWarn(), CoreConfig.GameConfig.warnCrime, and warned.
Referenced by ActPlan.Item.Perform().
|
inlinestatic |
Definition at line 414 of file Dialog.cs.
References Core.config, ELayer.core, CoreConfig.game, CoreConfig.GameConfig.ignoreWarnDisassemble, TryWarn(), CoreConfig.GameConfig.warnDisassemble, and warned.
Referenced by ActPlan.Item.Perform().
|
inlinestatic |
Definition at line 399 of file Dialog.cs.
References Core.config, ELayer.core, CoreConfig.game, CoreConfig.GameConfig.ignoreWarnMana, TryWarn(), warned, and CoreConfig.GameConfig.warnMana.
Referenced by ActRanged.Perform(), and Chara.UseAbility().
|
inlinestatic |
Definition at line 369 of file Dialog.cs.
References Core.config, ELayer.core, CoreConfig.game, CoreConfig.GameConfig.ignoreWarnSlaughter, Card.Name, TryWarn(), and warned.
Referenced by TraitToolButcher.TrySetHeldAct().
|
inlineprivate |
Definition at line 116 of file Dialog.cs.
References Layer.Option.canClose, Layer.Close(), input, and Layer.option.
|
inlinestatic |
Definition at line 252 of file Dialog.cs.
References UIButtonList.AddButton(), Layer.Close(), Layer.Create(), Lang.Get(), list, UIText.SetText(), textDetail, and ELayer.ui.
Referenced by Player.ExitBorder(), Game.GotoTitle(), TraitNewZone.MoveZone(), LayerConfig.OnInit(), LayerMod.OnInit(), TraitDeed.OnRead(), TraitDeedRelocate.OnRead(), WidgetHotbar.OnSetContextMenu(), TraitRope.OnUse(), Game.Quit(), LayerHome.RefreshFeat(), AM_Copy.RefreshMenu(), ContentConfigOther.ResetWindows(), ContentQuest.SelectQuest(), LayerFeedback.Submit(), and TraitCoreZone.TrySetAct().
| ScreenEffect Dialog.effect |
Definition at line 36 of file Dialog.cs.
Referenced by OnAfterInit().
| Image Dialog.image |
Definition at line 20 of file Dialog.cs.
Referenced by CreateNarration().
| UIInputText Dialog.input |
Definition at line 38 of file Dialog.cs.
Referenced by InputName(), OnAfterInit(), OnKill(), OnUpdateInput(), and Update().
| InputType Dialog.inputType |
Definition at line 40 of file Dialog.cs.
Referenced by InputName().
| bool Dialog.isInputEnter |
Definition at line 46 of file Dialog.cs.
Referenced by OnEnterInput(), OnKill(), and OnUpdateInput().
| EInput.KeyMap Dialog.keymap |
Definition at line 43 of file Dialog.cs.
Referenced by Keymap(), OnBack(), and OnUpdateInput().
| UIButtonList Dialog.list |
Definition at line 26 of file Dialog.cs.
Referenced by _Confetti(), AddButton(), LayerNewZone.Embark(), Gift(), InputName(), Ok(), OnAfterInit(), OnUpdateInput(), LayerGacha.PlayGacha(), Recipe(), TryWarn(), and YesNo().
| UIList Dialog.listGrid |
Definition at line 32 of file Dialog.cs.
Referenced by OnAfterInit().
| UINote Dialog.note |
Definition at line 24 of file Dialog.cs.
Referenced by Gift(), InputName(), LayerGacha.PlayGacha(), and Recipe().
| Action<bool, string> Dialog.onEnterInput |
| Transform Dialog.spacer |
| UIText Dialog.textDetail |
Definition at line 22 of file Dialog.cs.
Referenced by _Confetti(), Choice(), CreateNarration(), Keymap(), List< TValue >(), Ok(), OnAfterInit(), TryWarn(), and YesNo().
|
static |
Definition at line 50 of file Dialog.cs.
Referenced by ActRanged.Perform(), ActPlan.Item.Perform(), TryWarn(), TryWarnCrime(), TryWarnDisassemble(), TryWarnMana(), TryWarnSlaughter(), and Chara.UseAbility().