Elin Decompiled Documentation EA 23.102 Nightly
|
Classes | |
class | DragInfo |
Public Member Functions | |
DragItemCard (ButtonGrid _button, bool setDragImage=true) | |
override void | OnStartDrag () |
override void | OnEndDrag () |
override bool | OnDragSpecial () |
override bool | OnDrag (bool execute, bool cancel=false) |
![]() | |
virtual Image | GetDragImage () |
virtual void | OnStartDrag () |
virtual void | OnEndDrag () |
virtual bool | OnDrag (bool execute, bool cancel=false) |
virtual bool | OnDragSpecial () |
Public Attributes | |
ButtonGrid | button |
DragInfo | from |
DragInfo | to |
Properties | |
override UIButton | Button [get] |
![]() | |
virtual UIButton | Button [get] |
![]() | |
static Game | game [get] |
static bool | AdvMode [get] |
static Player | player [get] |
static Chara | pc [get] |
static UI | ui [get] |
static Map | _map [get] |
static Zone | _zone [get] |
static FactionBranch | Branch [get] |
static FactionBranch | BranchOrHomeBranch [get] |
static Faction | Home [get] |
static Faction | Wilds [get] |
static Scene | scene [get] |
static BaseGameScreen | screen [get] |
static GameSetting | setting [get] |
static GameData | gamedata [get] |
static ColorProfile | Colors [get] |
static World | world [get] |
static SourceManager | sources [get] |
static SourceManager | editorSources [get] |
static SoundManager | Sound [get] |
static CoreDebug | debug [get] |
Additional Inherited Members | |
![]() | |
static int | rnd (int a) |
static int | curve (int a, int start, int step, int rate=75) |
static int | rndHalf (int a) |
static float | rndf (float a) |
static int | rndSqrt (int a) |
static void | Wait (float a, Card c) |
static void | Wait (float a, Point p) |
static int | Bigger (int a, int b) |
static int | Smaller (int a, int b) |
![]() | |
static Core | core |
Definition at line 3 of file DragItemCard.cs.
|
inline |
Definition at line 60 of file DragItemCard.cs.
References button, from, UIButton.icon, UIButton.mainText, and EClass.ui.
|
inlinevirtual |
Reimplemented from DragItem.
Definition at line 112 of file DragItemCard.cs.
References DragItemCard.DragInfo.button, Core.config, EClass.core, CoreConfig.GameConfig.doubleClickToHold, from, CoreConfig.game, ButtonGrid.invOwner, DragItemCard.DragInfo.invOwner, InvOwner.OnDrag(), DragItemCard.DragInfo.thing, InvOwner.TryHold(), and EClass.ui.
|
inlinevirtual |
Reimplemented from DragItem.
Definition at line 89 of file DragItemCard.cs.
References Card.AddThing(), DragItemCard.DragInfo.button, Thing.CanStackTo(), InvOwner.Container, from, DragItemCard.DragInfo.invOwner, DragItemCard.DragInfo.invX, DragItemCard.DragInfo.invY, Card.IsPC, Card.material, Card.ModNum(), Card.Num, InvOwner.owner, Thing.sourceCard, Card.Split(), and DragItemCard.DragInfo.thing.
|
inlinevirtual |
Reimplemented from DragItem.
Definition at line 79 of file DragItemCard.cs.
References LayerDragGrid.CurrentButton, ButtonGrid.Dettach(), LayerDragGrid.Instance, and WidgetEquip.Redraw().
|
inlinevirtual |
Reimplemented from DragItem.
Definition at line 70 of file DragItemCard.cs.
References ButtonGrid.Attach(), LayerDragGrid.CurrentButton, from, LayerDragGrid.Instance, DragItemCard.DragInfo.invOwner, InvOwner.OnStartDrag(), LayerDragGrid.owner, InvOwner.ShouldShowGuide(), and DragItemCard.DragInfo.thing.
ButtonGrid DragItemCard.button |
Definition at line 52 of file DragItemCard.cs.
Referenced by DragItemCard(), InvOwner.Transaction.IsValid(), InvOwner.Transaction.Process(), and InvOwner.Transaction.Transaction().
DragInfo DragItemCard.from |
Definition at line 54 of file DragItemCard.cs.
Referenced by DragItemCard(), OnDrag(), OnDragSpecial(), OnStartDrag(), and Thing.ShowSplitMenu().
DragInfo DragItemCard.to |
Definition at line 56 of file DragItemCard.cs.
|
get |
Definition at line 58 of file DragItemCard.cs.