Elin Decompiled Documentation EA 23.102 Nightly
|
Public Member Functions | |
bool | IsPlayerContainer (bool includePlayer=false) |
Card | GetPlayerContainer () |
override bool | HeaderIsListOf (int id) |
override void | OnInit () |
override void | OnAfterInit () |
UIInventory | SetInv (int idWindow=0) |
override void | OnUpdateInput () |
override void | OnKill () |
override void | OnRightClick () |
![]() | |
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 LayerInventory | GetTopLayer (Thing t, bool includePlayer=false, InvOwner exclude=null) |
static LayerInventory | GetLayer (Card t) |
static LayerInventory | GetPCLayer () |
static void | Close (Thing t) |
static bool | IsOpen (Thing t) |
static void | SetDirty (Thing t) |
static void | SetDirtyAll (bool immediate=false) |
static void | TryShowGuide (UIList list) |
static void | TryShowGuide (List< ButtonGrid > list) |
static LayerInventory | _Create (string path="") |
static LayerInventory | CreatePCBackpack (bool mousePos=false) |
static bool | CloseAllyInv (Chara c) |
static void | CloseAllyInv () |
static LayerInventory | CreateContainerAlly (Chara owner, Card container) |
static bool | IsOpen (Card container) |
static LayerInventory | CreateContainerPC (Card container) |
static LayerInventory | CreateContainer (Card owner) |
static LayerInventory | CreateContainer (Card owner, Card container) |
static LayerInventory | CreateContainer< T > (Card c, Card container, CurrencyType currency=CurrencyType.None) |
static LayerInventory | CreateBuy (Card c, CurrencyType currency=CurrencyType.Money, PriceType price=PriceType.Default) |
![]() | |
static int | rnd (int a) |
![]() | |
static T | Create< T > () |
static T | Create< T > (string path) |
static Layer | Create (string path) |
Public Attributes | |
List< UIInventory > | invs = new List<UIInventory>() |
UICurrency | uiCurrency |
bool | floatInv |
bool | mainInv |
WindowCharaMini | mini |
bool | wasInventoryOpen |
![]() | |
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 List< LayerInventory > | listInv = new List<LayerInventory>() |
static InvOwner | highlightInv |
![]() | |
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" } |
Properties | |
InvOwner | Inv [get] |
![]() | |
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] |
Private Member Functions | |
void | OnDestroy () |
Additional Inherited Members | |
![]() | |
sealed override void | _Close () |
sealed override void | Kill () |
![]() | |
virtual void | Awake () |
virtual void | _Close () |
virtual void | Kill () |
![]() | |
RectTransform | _rect |
bool | isDestroyed |
Definition at line 5 of file LayerInventory.cs.
|
inlinestatic |
Definition at line 344 of file LayerInventory.cs.
References Game.altInv, Layer.Create(), and ELayer.game.
Referenced by CreateBuy(), CreateContainer(), CreateContainer< T >(), CreateContainerAlly(), CreateContainerPC(), and CreatePCBackpack().
|
inlinestatic |
Definition at line 63 of file LayerInventory.cs.
Referenced by ActionMode.UpdateInput().
|
inlinestatic |
Definition at line 379 of file LayerInventory.cs.
References item, listInv, and ELayer.ui.
Referenced by CreateContainerAlly().
|
inlinestatic |
Definition at line 366 of file LayerInventory.cs.
References item, listInv, and ELayer.ui.
Referenced by LayerDragGrid.OnKill(), and LayerDragGrid.SetInv().
|
inlinestatic |
Definition at line 604 of file LayerInventory.cs.
References _Create(), UIInventory.AddTab(), Trait.CostRerollShop, currency, ShopTransaction.current, UIInventory.Tab.dest, Window.dictData, ThingContainer.Find(), Card.GetWindowSaveData(), ShopTransaction.OnEndTransaction(), ELayer.pc, SetInv(), Layer.SetOnKill(), UIInventory.tabs, Card.things, Card.trait, uiCurrency, and Layer.windows.
Referenced by TraitVendingMachine.OnUse().
|
inlinestatic |
Definition at line 541 of file LayerInventory.cs.
References ELayer._zone, card, Game.cards, CardManager.container_deliver, CardManager.container_shipping, CreateContainer(), CreateContainerPC(), ELayer.game, Card.GetRootCard(), ThingContainer.height, ELayer.pc, Tutorial.Play(), Card.things, Card.trait, Spatial.uid, and ThingContainer.width.
Referenced by ActPlan._Update(), CreateContainer(), ActionMode.DoFunc(), WidgetEquip.OnActivate(), TraitContainer.Open(), UI.OpenFloatInv(), and ButtonRoster.Refresh().
|
inlinestatic |
Definition at line 562 of file LayerInventory.cs.
References _Create(), UIInventory.AddTab(), Card.c_windowSaveData, Game.cards, CardManager.container_shipping, UIInventory.Tab.dest, ELayer.game, Card.isChara, ELayer.pc, SetInv(), Card.Thing, ELayer.ui, and Layer.windows.
|
inlinestatic |
T | : | InvOwner |
Definition at line 586 of file LayerInventory.cs.
References _Create(), UIInventory.AddTab(), Card.c_windowSaveData, currency, UIInventory.Tab.dest, ELayer.pc, SetInv(), ELayer.ui, and Layer.windows.
|
inlinestatic |
Definition at line 390 of file LayerInventory.cs.
References _Create(), UIInventory.AddTab(), Window.buttonClose, Window.ClampToScreen(), CloseAllyInv(), Core.config, ELayer.core, CoreConfig.game, Card.Name, ELayer.player, SetDirty(), SetInv(), CoreConfig.GameConfig.showInvBG, UIInventory.tabs, Card.Thing, ELayer.ui, Window.UpdateSaveData(), Player.windowAllyInv, Layer.windows, and Window.SaveData.x.
Referenced by LayerDragGrid.SetInv().
|
inlinestatic |
Definition at line 435 of file LayerInventory.cs.
References _Create(), UIInventory.AddTab(), Window.buttonClose, Window.ClampToScreen(), Core.config, ELayer.core, CoreConfig.game, ELayer.IsFloat, item, listInv, Player.openContainerCenter, ELayer.pc, ELayer.player, SetDirty(), SetInv(), CoreConfig.GameConfig.showInvBG, UIInventory.tabs, Card.Thing, ELayer.ui, Window.UpdateSaveData(), Layer.windows, and Window.SaveData.x.
Referenced by CreateContainer().
|
inlinestatic |
Definition at line 353 of file LayerInventory.cs.
References _Create(), UIInventory.AddTab(), ELayer.pc, UIInventory.SetHeader(), SetInv(), and Layer.windows.
Referenced by UI.OpenFloatInv().
|
inlinestatic |
Definition at line 45 of file LayerInventory.cs.
Referenced by GetPCLayer(), and ActionMode.UpdateInput().
|
inlinestatic |
Definition at line 58 of file LayerInventory.cs.
References GetLayer(), and ELayer.pc.
Referenced by InvOwner.GetShitDestOwner().
|
inline |
Definition at line 223 of file LayerInventory.cs.
References InvOwner.Container, invs, IsPlayerContainer(), and UIInventory.Tab.owner.
|
inlinestatic |
Definition at line 26 of file LayerInventory.cs.
Referenced by InvOwner.GetShitDestOwner().
|
inlinevirtual |
Reimplemented from Layer.
Definition at line 233 of file LayerInventory.cs.
|
inlinestatic |
Definition at line 423 of file LayerInventory.cs.
|
inlinestatic |
Definition at line 75 of file LayerInventory.cs.
Referenced by InvOwner.ListInteractions(), and TraitContainer.OnSetCardGrid().
|
inline |
Definition at line 210 of file LayerInventory.cs.
References invs, and ELayer.pc.
Referenced by GetPlayerContainer(), and UI.ToggleInventory().
|
inlinevirtual |
Reimplemented from Layer.
Definition at line 260 of file LayerInventory.cs.
References BaseCore.actionsNextFrame, ELayer.core, and invs.
|
inlineprivate |
Definition at line 323 of file LayerInventory.cs.
References invs, listInv, and SetDirty().
|
inlinevirtual |
Reimplemented from Layer.
Definition at line 238 of file LayerInventory.cs.
References InvOwner.Container, floatInv, Inv, invs, listInv, UIInventory.OnInit(), ELayer.pc, ELayer.ui, and wasInventoryOpen.
|
inlinevirtual |
Reimplemented from Layer.
Definition at line 297 of file LayerInventory.cs.
References InvOwner.Container, ELayer.game, Inv, Game.isKilling, listInv, InvOwner.owner, ELayer.pc, SetDirtyAll(), InvOwner.Trader, ELayer.ui, InvOwner.UseGuide, and wasInventoryOpen.
|
inlinevirtual |
Reimplemented from ELayer.
Definition at line 332 of file LayerInventory.cs.
References Layer.Close(), and invs.
|
inlinevirtual |
Reimplemented from Layer.
Definition at line 282 of file LayerInventory.cs.
References EInput.action, Layer.Close(), TaskDump.TryPerform(), and EInput.WaitReleaseKey().
|
inlinestatic |
Definition at line 87 of file LayerInventory.cs.
References Game.altInv, ELayer.game, Chara.held, item, listInv, and ELayer.pc.
Referenced by Card.AddThing(), ActMelee.Attack(), Card.ChangeMaterial(), CreateContainerAlly(), CreateContainerPC(), Card.Decay(), Chara.DropHeld(), CharaBody.Equip(), InvOwner.Grab(), Chara.HoldCard(), Thing.Identify(), Card.ModCharge(), Card.OnChildNumChange(), OnDestroy(), InvOwnerDraglet.OnProcess(), ConSleep.OnRemoved(), TraitEquipItem.OnUse(), TraitFoodPreparedPackage.OnUse(), ActRanged.Perform(), Chara.PickHeld(), ActEffect.Proc(), UIInventory.RefreshMenu(), Card.RemoveThing(), Card.SetCharge(), Chara.TryAbsorbRod(), ActRanged.TryReload(), ButtonAbility.TryUse(), and CharaBody.Unequip().
|
inlinestatic |
Definition at line 110 of file LayerInventory.cs.
References WidgetCurrentTool.CheckDirty(), WidgetEquip.CheckDirty(), WidgetCurrentTool.Instance, WidgetEquip.Instance, item, and listInv.
Referenced by LayerAbility.ClearHotElement(), TraitBaseSpellbook.ModCharge(), WidgetSearch.OnDeactivate(), LayerDragGrid.OnKill(), OnKill(), CoreDebug.QuickStart(), LayerDragGrid.Redraw(), UIInventory.RefreshGrid(), WidgetSearch.RefreshList(), and LayerAbility.SelectGroup().
|
inline |
Definition at line 274 of file LayerInventory.cs.
References invs, and Layer.windows.
Referenced by CreateBuy(), CreateContainer(), CreateContainer< T >(), CreateContainerAlly(), CreateContainerPC(), and CreatePCBackpack().
|
inlinestatic |
Definition at line 149 of file LayerInventory.cs.
References Thing.CanSearchContents, Card.category, WidgetEquip.dragEquip, BodySlot.elementId, ThingContainer.Foreach(), LayerAbility.hotElement, if(), WidgetSearch.Instance, item, Card.parent, ELayer.pc, WidgetSearch.selected, InvOwner.ShouldShowGuide(), InvOwnerEquip.slot, Card.things, InvOwner.Trader, ELayer.ui, and InvOwner.UseGuide.
|
inlinestatic |
Definition at line 135 of file LayerInventory.cs.
References UIList.buttons, and TryShowGuide().
Referenced by WidgetCurrentTool.RebuildSlots(), WidgetEquip.RefreshEquipment(), UIInventory.RefreshGrid(), and TryShowGuide().
bool LayerInventory.floatInv |
Definition at line 15 of file LayerInventory.cs.
Referenced by OnInit().
|
static |
Definition at line 9 of file LayerInventory.cs.
Referenced by UIInventory.Update().
List<UIInventory> LayerInventory.invs = new List<UIInventory>() |
Definition at line 11 of file LayerInventory.cs.
Referenced by GetPlayerContainer(), IsPlayerContainer(), OnAfterInit(), OnDestroy(), InvOwner.OnDrag(), OnInit(), OnRightClick(), UIInventory.RefreshMenu(), SetInv(), and ActionMode.UpdateInput().
|
static |
Definition at line 7 of file LayerInventory.cs.
Referenced by Core.Awake(), Close(), CloseAllyInv(), CreateContainerPC(), GetLayer(), GetTopLayer(), IsOpen(), OnDestroy(), OnInit(), OnKill(), Player.RefreshCurrentHotItem(), UIInventory.RefreshMenu(), Card.RemoveThing(), LayerAbility.SetDirty(), SetDirty(), SetDirtyAll(), and UI.ToggleInventory().
bool LayerInventory.mainInv |
Definition at line 17 of file LayerInventory.cs.
WindowCharaMini LayerInventory.mini |
Definition at line 19 of file LayerInventory.cs.
UICurrency LayerInventory.uiCurrency |
Definition at line 13 of file LayerInventory.cs.
Referenced by CreateBuy().
bool LayerInventory.wasInventoryOpen |
Definition at line 22 of file LayerInventory.cs.
|
get |
Definition at line 24 of file LayerInventory.cs.
Referenced by InvOwner.GetShitDestOwner(), OnInit(), OnKill(), and ButtonRoster.Refresh().