Elin Modding Docs Doc
Loading...
Searching...
No Matches
DragItemCard Class Reference
Inheritance diagram for DragItemCard:
DragItem EClass

Classes

class  DragInfo
 

Public Member Functions

 DragItemCard (ButtonGrid _button, bool setDragImage=true)
 
override void OnStartDrag ()
 
override void OnEndDrag ()
 
override bool OnDrag (bool execute, bool cancel=false)
 
- Public Member Functions inherited from DragItem
virtual Image GetDragImage ()
 

Public Attributes

ButtonGrid button
 
DragItemCard.DragInfo from
 
DragItemCard.DragInfo to
 

Properties

override UIButton Button [get]
 
- Properties inherited from DragItem
virtual UIButton Button [get]
 
- Properties inherited from EClass
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 Public Member Functions inherited from EClass
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 Public Attributes inherited from EClass
static Core core
 

Detailed Description

Definition at line 5 of file DragItemCard.cs.

Constructor & Destructor Documentation

◆ DragItemCard()

DragItemCard.DragItemCard ( ButtonGrid _button,
bool setDragImage = true )

Definition at line 8 of file DragItemCard.cs.

Member Function Documentation

◆ OnDrag()

override bool DragItemCard.OnDrag ( bool execute,
bool cancel = false )
virtual

Reimplemented from DragItem.

Definition at line 50 of file DragItemCard.cs.

◆ OnEndDrag()

override void DragItemCard.OnEndDrag ( )
virtual

Reimplemented from DragItem.

Definition at line 39 of file DragItemCard.cs.

◆ OnStartDrag()

override void DragItemCard.OnStartDrag ( )
virtual

Reimplemented from DragItem.

Definition at line 29 of file DragItemCard.cs.

Member Data Documentation

◆ button

ButtonGrid DragItemCard.button

Definition at line 62 of file DragItemCard.cs.

◆ from

DragItemCard.DragInfo DragItemCard.from

Definition at line 65 of file DragItemCard.cs.

◆ to

DragItemCard.DragInfo DragItemCard.to

Definition at line 68 of file DragItemCard.cs.

Property Documentation

◆ Button

override UIButton DragItemCard.Button
get

Definition at line 20 of file DragItemCard.cs.


The documentation for this class was generated from the following file: