Elin Decompiled Documentation EA 23.102 Nightly
|
Public Types | |
enum | InputType { None , Default , Password , Item , DistributionFilter } |
Public Member Functions | |
override void | OnAfterInit () |
void | AddButton (string text, Action onClick=null, bool close=true) |
override void | OnUpdateInput () |
void | OnEnterInput () |
override void | OnKill () |
![]() | |
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 () |
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) |
static void | TryWarnSlaughter (Action action) |
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 int | rnd (int a) |
![]() | |
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 |
![]() | |
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 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 | |
![]() | |
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] |
enum Dialog.InputType |
|
inlinestatic |
Definition at line 506 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 100 of file Dialog.cs.
References UIButtonList.AddButton(), Layer.Close(), and list.
Referenced by ListPeopleCallReserve.OnInstantiate().
Definition at line 235 of file Dialog.cs.
References Layer.Create(), UIText.SetText(), textDetail, and ELayer.ui.
Referenced by ListPeopleCallReserve.OnInstantiate().
|
inlinestatic |
Definition at line 494 of file Dialog.cs.
References _Confetti(), and ELayer.Sound.
|
inlinestatic |
|
inlinestatic |
Definition at line 212 of file Dialog.cs.
References Layer.Create(), image, UIText.SetText(), textDetail, and CorePath.CorePackage.TextNarration.
Referenced by LayerNewZone.Embark().
Definition at line 425 of file Dialog.cs.
Definition at line 438 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 420 of file Dialog.cs.
References Gift().
Referenced by Gift(), DramaOutcome.nerun_gift(), DramaOutcome.nerun_gift2(), and DramaOutcome.nerun_gift3().
|
inlinestatic |
Definition at line 528 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 ActPlan._Update(), UICharaMaker.EditName(), BaseArea.ListInteractions(), BaseListPeople.OnClick(), HotAction.OnShowContextMenu(), Scene.OnUpdate(), TraitDetector.OnUse(), ContentConfigOther.OpenBackerCodeInput(), UIInventory.RefreshMenu(), TraitCoreZone.TrySetAct(), TraitNote.TrySetAct(), and TraitTeleporter.TrySetAct().
|
inlinestatic |
Definition at line 519 of file Dialog.cs.
References EInput.action, Layer.Create(), keymap, UIText.SetText(), textDetail, and ELayer.ui.
Referenced by ContentConfigInput.OnInstantiate().
|
inlinestatic |
Definition at line 268 of file Dialog.cs.
References Layer.Create(), item, UIText.SetText(), textDetail, and ELayer.ui.
|
inlinestatic |
Definition at line 222 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 51 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.
|
inline |
Definition at line 192 of file Dialog.cs.
References Layer.Close(), and isInputEnter.
|
inlinevirtual |
Reimplemented from Layer.
Definition at line 198 of file Dialog.cs.
References UIInputText.field, input, isInputEnter, onEnterInput, UIInputText.Text, ELayer.ui, and EInput.WaitReleaseKey().
|
inlinevirtual |
Reimplemented from Layer.
Definition at line 123 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 462 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 290 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 376 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 406 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 391 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 361 of file Dialog.cs.
References Core.config, ELayer.core, CoreConfig.game, CoreConfig.GameConfig.ignoreWarnSlaughter, TryWarn(), and warned.
Referenced by TraitToolButcher.TrySetHeldAct().
|
inlineprivate |
Definition at line 115 of file Dialog.cs.
References Layer.Option.canClose, Layer.Close(), input, and Layer.option.
|
inlinestatic |
Definition at line 244 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(), LayerLoadGame.RefreshInfo(), AM_Copy.RefreshMenu(), ContentConfigOther.ResetWindows(), ContentQuest.SelectQuest(), LayerFeedback.Submit(), and TraitCoreZone.TrySetAct().
ScreenEffect Dialog.effect |
Definition at line 35 of file Dialog.cs.
Referenced by OnAfterInit().
Image Dialog.image |
Definition at line 19 of file Dialog.cs.
Referenced by CreateNarration().
UIInputText Dialog.input |
Definition at line 37 of file Dialog.cs.
Referenced by InputName(), OnAfterInit(), OnKill(), OnUpdateInput(), and Update().
InputType Dialog.inputType |
Definition at line 39 of file Dialog.cs.
Referenced by InputName().
bool Dialog.isInputEnter |
Definition at line 45 of file Dialog.cs.
Referenced by OnEnterInput(), OnKill(), and OnUpdateInput().
EInput.KeyMap Dialog.keymap |
Definition at line 42 of file Dialog.cs.
Referenced by Keymap(), and OnUpdateInput().
UIButtonList Dialog.list |
Definition at line 25 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 31 of file Dialog.cs.
Referenced by OnAfterInit().
UINote Dialog.note |
Definition at line 23 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 21 of file Dialog.cs.
Referenced by _Confetti(), Choice(), CreateNarration(), Keymap(), List< TValue >(), Ok(), OnAfterInit(), TryWarn(), and YesNo().
|
static |
Definition at line 49 of file Dialog.cs.
Referenced by ActRanged.Perform(), ActPlan.Item.Perform(), TryWarn(), TryWarnCrime(), TryWarnDisassemble(), TryWarnMana(), TryWarnSlaughter(), and Chara.UseAbility().