Elin Decompiled Documentation EA 23.102 Nightly
|
Classes | |
class | PutbackInfo |
Public Member Functions | |
void | OnOpen () |
LayerDragGrid | SetInv (InvOwnerDraglet owner, bool refuelFromLayerDragGrid=false) |
int | GetPrice () |
void | RefreshCost () |
bool | IsAllGridSet () |
override void | ClearButtons () |
override void | RefreshCurrentGrid () |
override List< Thing > | GetTargets () |
void | Validate () |
void | Redraw () |
void | AddPutBack (Thing t, Thing container) |
void | TryPutBack () |
override void | OnEndCraft () |
override void | OnKill () |
override void | OnUpdateInput () |
override void | OnRightClick () |
![]() | |
virtual List< Thing > | GetTargets () |
virtual int | GetReqIngredient (int index) |
virtual void | RefreshCurrentGrid () |
virtual void | ClearButtons () |
virtual void | OnEndCraft () |
![]() | |
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 LayerDragGrid | Create (InvOwnerDraglet owner, bool refuelFromLayerDragGrid=false) |
static LayerDragGrid | CreateChaosOffering (TraitAltarChaos altar) |
static LayerDragGrid | CreateOffering (TraitAltar altar) |
static LayerDragGrid | CreateDeliver (InvOwnerDeliver.Mode mode=InvOwnerDeliver.Mode.Default, Card owner=null) |
static LayerDragGrid | CreateGive (Chara c) |
static LayerDragGrid | CreateCraft (TraitCrafter crafter) |
static LayerDragGrid | CreateRecycle (TraitRecycle recycle) |
static LayerDragGrid | CreateGacha (TraitGacha gacha) |
static LayerDragGrid | TryProc (Chara cc, InvOwnerEffect owner) |
static LayerDragGrid | CreateIdentify (Chara cc, bool superior=false, BlessedState state=BlessedState.Normal, int price=0, int count=1) |
static LayerDragGrid | CreateEnchant (Chara cc, bool armor, bool superior=false, BlessedState state=BlessedState.Normal, int count=1) |
static LayerDragGrid | CreateChangeMaterial (Chara cc, Thing consume, SourceMaterial.Row mat, EffectId idEffect, BlessedState state=BlessedState.Normal, int price=0, int count=1) |
static LayerDragGrid | CreateUncurse (Chara cc, BlessedState state=BlessedState.Normal, int price=0, int count=1) |
static LayerDragGrid | CreateLighten (Chara cc, BlessedState state=BlessedState.Normal, int price=0, int count=1) |
static LayerDragGrid | CreateReconstruction (Chara cc, BlessedState state=BlessedState.Normal, int price=0, int count=1) |
![]() | |
static int | rnd (int a) |
![]() | |
static T | Create< T > () |
static T | Create< T > (string path) |
static Layer | Create (string path) |
Public Attributes | |
List< PutbackInfo > | putBacks = new List<PutbackInfo>() |
UIItem | itemCost |
Image | imageOwner |
UIText | textTitle |
UIText | textFuel |
Transform | transIndex |
List< ButtonGrid > | buttons |
ButtonGrid | buttonOwner |
UIButton | buttonRefuel |
UIButton | buttonAutoRefuel |
UIButton | buttonAlly |
UIButton | buttonStock |
InvOwnerDraglet | owner |
UICurrency | uiCurrency |
int | currentIndex |
UIDragGridInfo | info |
UIList | listAlly |
UIDragGridIngredients | uiIngredients |
![]() | |
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 LayerDragGrid | Instance |
![]() | |
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 | |
ButtonGrid | CurrentButton [get] |
override bool | CanCancelAI [get] |
override bool | RepeatAI [get] |
![]() | |
virtual bool | CanCancelAI [get] |
virtual bool | RepeatAI [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 | Update () |
Private Attributes | |
bool | wasInventoryOpen |
int | lastNum |
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 LayerDragGrid.cs.
Definition at line 314 of file LayerDragGrid.cs.
Referenced by UIDragGridIngredients.Refresh(), and UIDragGridIngredients.Update().
|
inlinevirtual |
Reimplemented from LayerBaseCraft.
Definition at line 239 of file LayerDragGrid.cs.
References InvOwner.numDragGrid, and UIDragGridIngredients.Refresh().
Referenced by InvOwnerDraglet.OnClick().
|
inlinestatic |
Definition at line 381 of file LayerDragGrid.cs.
References ELayer.ui.
Referenced by ActPlan._Update(), TraitMod.OnUse(), LayerCraft.SetFactory(), and Trait.TrySetToggleAct().
|
inlinestatic |
Definition at line 499 of file LayerDragGrid.cs.
Referenced by ActEffect.Proc().
|
inlinestatic |
Definition at line 386 of file LayerDragGrid.cs.
References Trait.owner, and Msg.Say().
Referenced by TraitAltarChaos.TrySetAct().
|
inlinestatic |
Definition at line 425 of file LayerDragGrid.cs.
References Trait.owner.
Referenced by TraitCrafter.OnUse(), and TraitCrafter.TrySetAct().
|
inlinestatic |
Definition at line 404 of file LayerDragGrid.cs.
References ELayer.player, Msg.Say(), and Player.taxBills.
Referenced by TraitBank.OnUse(), TraitFarmChest.OnUse(), and TraitTaxChest.OnUse().
|
inlinestatic |
Definition at line 488 of file LayerDragGrid.cs.
References armor.
Referenced by ActEffect.Proc().
|
inlinestatic |
Definition at line 442 of file LayerDragGrid.cs.
References Trait.owner, and Msg.Say().
Referenced by TraitGacha.TrySetAct().
|
inlinestatic |
Definition at line 417 of file LayerDragGrid.cs.
|
inlinestatic |
Definition at line 477 of file LayerDragGrid.cs.
Referenced by ActEffect.Proc().
|
inlinestatic |
Definition at line 522 of file LayerDragGrid.cs.
Referenced by ActEffect.Proc().
|
inlinestatic |
Definition at line 395 of file LayerDragGrid.cs.
References Trait.owner, and Msg.Say().
Referenced by TraitAltar.TrySetAct().
|
inlinestatic |
Definition at line 532 of file LayerDragGrid.cs.
Referenced by ActEffect.Proc().
|
inlinestatic |
Definition at line 433 of file LayerDragGrid.cs.
References Trait.owner, and Msg.Say().
Referenced by TraitRecycle.OnUse().
|
inlinestatic |
Definition at line 512 of file LayerDragGrid.cs.
Referenced by ActEffect.Proc().
|
inline |
Definition at line 206 of file LayerDragGrid.cs.
References InvOwnerDraglet.price.
|
inlinevirtual |
Reimplemented from LayerBaseCraft.
Definition at line 272 of file LayerDragGrid.cs.
References card, and TraitCrafter.numIng.
|
inline |
Definition at line 227 of file LayerDragGrid.cs.
References card, and InvOwner.numDragGrid.
Referenced by InvOwnerDraglet.OnProcess().
|
inlinevirtual |
Reimplemented from LayerBaseCraft.
Definition at line 339 of file LayerDragGrid.cs.
|
inlinevirtual |
Reimplemented from Layer.
Definition at line 344 of file LayerDragGrid.cs.
References Chara.ai, AIAct.Cancel(), LayerInventory.CloseAllyInv(), AIAct.IsRunning, ELayer.pc, LayerInventory.SetDirtyAll(), and ELayer.ui.
|
inline |
Definition at line 62 of file LayerDragGrid.cs.
References Instance, owner, ELayer.ui, and wasInventoryOpen.
Referenced by SetInv().
|
inlinevirtual |
Reimplemented from ELayer.
Definition at line 373 of file LayerDragGrid.cs.
|
inlinevirtual |
Reimplemented from Layer.
Definition at line 360 of file LayerDragGrid.cs.
References EInput.action, and EInput.WaitReleaseKey().
|
inline |
Definition at line 302 of file LayerDragGrid.cs.
References ButtonGrid.Redraw(), and LayerInventory.SetDirtyAll().
Referenced by AI_UseCrafter.Run().
|
inline |
Definition at line 211 of file LayerDragGrid.cs.
References Lang._currency(), Card.autoRefuel, Card.c_isDisableStockUse, SpriteSheet.Get(), Card.GetCurrency(), UIButton.icon, InvOwner.IDCurrency, Trait.MaxFuel, InvOwner.owner, ELayer.pc, UIText.SetText(), UIItem.text1, and Card.trait.
Referenced by InvOwnerDraglet.RedrawButton(), and SetInv().
|
inlinevirtual |
Reimplemented from LayerBaseCraft.
Definition at line 249 of file LayerDragGrid.cs.
References InvOwner.numDragGrid.
Referenced by InvOwnerDraglet.OnClick(), InvOwnerDraglet.OnProcess(), InvOwnerDraglet.RedrawButton(), and SetInv().
|
inline |
Definition at line 73 of file LayerDragGrid.cs.
References UIList.Add(), InvOwnerDraglet.AllowStockIngredients, InvOwnerDraglet.BuildUICurrency(), buttonAutoRefuel, buttonOwner, buttonRefuel, InvOwner.buttons, buttons, buttonStock, InvOwnerDraglet.CanTargetAlly, LayerInventory.CloseAllyInv(), InvOwner.Container, LayerInventory.CreateContainerAlly(), Chara.HasNoGoal, UIButton.icon, imageOwner, InvOwner.Init(), Chara.IsPC, Trait.IsRequireFuel, InvOwner.langTransfer, UIList.List(), listAlly, Party.members, Card.Name, InvOwner.numDragGrid, OnOpen(), InvOwner.owner, owner, Chara.party, ELayer.pc, UIDragGridIngredients.Refresh(), RefreshCost(), RefreshCurrentGrid(), ThingContainer.RefreshGrid(), ButtonGrid.SetCardGrid(), Card.SetImage(), Chara.SetSortVal(), UIButton.SetTooltipLang(), InvOwnerDraglet.ShowFuel, Card.sortVal, textFuel, Card.things, Card.trait, uiCurrency, and uiIngredients.
|
inlinestatic |
Definition at line 451 of file LayerDragGrid.cs.
References InvOwnerDraglet._OnProcess(), InvOwnerDraglet.count, Chara.IsPC, ThingContainer.List(), Card.SayNothingHappans(), InvOwner.ShouldShowGuide(), and Card.things.
|
inline |
Definition at line 326 of file LayerDragGrid.cs.
References Card.AddCard(), LayerDragGrid.PutbackInfo.container, Card.isDestroyed, Card.Num, Card.parent, and LayerDragGrid.PutbackInfo.thing.
Referenced by InvOwnerDraglet.OnClick().
|
inlineprivate |
Definition at line 283 of file LayerDragGrid.cs.
|
inline |
Definition at line 288 of file LayerDragGrid.cs.
References ButtonGrid.card, card, InvOwner.owner, and ButtonGrid.SetCardGrid().
UIButton LayerDragGrid.buttonAlly |
Definition at line 36 of file LayerDragGrid.cs.
UIButton LayerDragGrid.buttonAutoRefuel |
Definition at line 34 of file LayerDragGrid.cs.
Referenced by SetInv().
ButtonGrid LayerDragGrid.buttonOwner |
Definition at line 30 of file LayerDragGrid.cs.
Referenced by SetInv().
UIButton LayerDragGrid.buttonRefuel |
Definition at line 32 of file LayerDragGrid.cs.
Referenced by SetInv().
List<ButtonGrid> LayerDragGrid.buttons |
Definition at line 28 of file LayerDragGrid.cs.
Referenced by InvOwnerAlly.GetAutoUseLang(), TraitCrafter.IsCraftIngredient(), InvOwnerDraglet.OnProcess(), UIDragGridIngredients.Refresh(), SetInv(), and UIDragGridIngredients.Update().
UIButton LayerDragGrid.buttonStock |
Definition at line 38 of file LayerDragGrid.cs.
Referenced by SetInv().
int LayerDragGrid.currentIndex |
Definition at line 44 of file LayerDragGrid.cs.
Referenced by InvOwner.Transaction.IsValid(), InvOwner.Transaction.Process(), UIDragGridIngredients.Refresh(), and UIDragGridIngredients.Update().
Image LayerDragGrid.imageOwner |
Definition at line 20 of file LayerDragGrid.cs.
Referenced by SetInv().
UIDragGridInfo LayerDragGrid.info |
Definition at line 46 of file LayerDragGrid.cs.
Referenced by TraitCrafter.Craft().
|
static |
Definition at line 14 of file LayerDragGrid.cs.
Referenced by TraitCrafter.Craft(), GameUpdater.ThingUpdater.FixedUpdate(), InvOwnerAlly.GetAutoUseLang(), TraitCrafter.IsCraftIngredient(), InvOwner.Transaction.IsValid(), DragItemCard.OnEndDrag(), OnOpen(), DragItemCard.OnStartDrag(), InvOwner.Transaction.Process(), InvOwnerAlly.Process(), and AI_UseCrafter.Run().
UIItem LayerDragGrid.itemCost |
Definition at line 18 of file LayerDragGrid.cs.
|
private |
Definition at line 54 of file LayerDragGrid.cs.
UIList LayerDragGrid.listAlly |
Definition at line 48 of file LayerDragGrid.cs.
Referenced by SetInv().
InvOwnerDraglet LayerDragGrid.owner |
Definition at line 40 of file LayerDragGrid.cs.
Referenced by InvOwnerAlly.GetAutoUseLang(), OnOpen(), DragItemCard.OnStartDrag(), UIDragGridIngredients.Refresh(), AI_UseCrafter.Run(), SetInv(), and UIDragGridIngredients.Update().
List<PutbackInfo> LayerDragGrid.putBacks = new List<PutbackInfo>() |
Definition at line 16 of file LayerDragGrid.cs.
UIText LayerDragGrid.textFuel |
Definition at line 24 of file LayerDragGrid.cs.
Referenced by SetInv().
UIText LayerDragGrid.textTitle |
Definition at line 22 of file LayerDragGrid.cs.
Transform LayerDragGrid.transIndex |
Definition at line 26 of file LayerDragGrid.cs.
UICurrency LayerDragGrid.uiCurrency |
Definition at line 42 of file LayerDragGrid.cs.
Referenced by SetInv().
UIDragGridIngredients LayerDragGrid.uiIngredients |
Definition at line 50 of file LayerDragGrid.cs.
Referenced by InvOwnerDraglet.OnClick(), InvOwnerDraglet.OnProcess(), and SetInv().
|
private |
Definition at line 52 of file LayerDragGrid.cs.
Referenced by OnOpen().
|
get |
Definition at line 58 of file LayerDragGrid.cs.
|
get |
Definition at line 56 of file LayerDragGrid.cs.
Referenced by DragItemCard.OnEndDrag(), DragItemCard.OnStartDrag(), and InvOwnerAlly.Process().
|
get |
Definition at line 60 of file LayerDragGrid.cs.