Elin Modding Docs Doc
Loading...
Searching...
No Matches
UIInventory Class Reference
Inheritance diagram for UIInventory:
EMono

Classes

class  Tab
 
class  Transaction
 

Public Types

enum  Mode {
  Default , Equip , Buy , Sell ,
  Gear , Other , Select , Food ,
  Item , Resource , Read , Hold ,
  Tool , Put , Take , Give ,
  Trade , All , Offer , Identify ,
  Drink , Deliver , HoldFurniture , HoldBlock ,
  Recycle
}
 
enum  SubMode { Default , IdentifyScroll , DeliverTax }
 
enum  InteractMode { Auto , Hold , Drop }
 

Public Member Functions

void SetHeader (string s)
 
UIInventory.Tab AddTab (Card c, UIInventory.Mode mode, Thing container=null)
 
UIInventory.Tab AddTab (InvOwner owner, UIInventory.Mode mode=UIInventory.Mode.All)
 
void OnInit ()
 
void RefreshWindow ()
 
void Close ()
 
void SwitchTab (UIInventory.Tab tab)
 
void DoAct (Act act)
 
void CheckDirty ()
 
void RefreshDestNum ()
 
bool DestNumIsMax ()
 
void RefreshMenu ()
 
Transform ShowDistribution (UIContextMenu dis, Window.SaveData data)
 
Transform ShowAdvDistribution (UIContextMenu dis, Window.SaveData data)
 
void Sort (bool magicSort=false)
 
void RefreshList ()
 
void RefreshHighlight ()
 
void RefreshGrid ()
 

Static Public Member Functions

static void RefreshAllList ()
 
- Static Public Member Functions inherited from EMono
static int rnd (int a)
 

Public Attributes

UIList list
 
BodySlot bodySlot
 
LayerInventory layer
 
Transform headerRow
 
Transform transOverflow
 
string idMold
 
Func< Thing, bool > funcList
 
Action< ThingactionClick
 
Window window
 
UIContent content
 
UIInventory.Tab currentTab
 
AIAct currentAct
 
UIInventory.InteractMode interactMode
 
bool floatMode
 
bool dirty
 
bool isList
 
UIInventory.Transaction lastTransaction
 
Image imageHighlight
 
Image imageHighlightGrid
 
UIButton moldSmallTab
 
ButtonGrid moldButtonGrid
 
ButtonGrid moldButtonGridless
 
UIButton buttonTakeAll
 
UIMagicChest uiMagic
 
List< UIInventory.Tabtabs = new List<UIInventory.Tab>()
 
bool wasDirty
 

Properties

InvOwner owner [get]
 
Card dest [get]
 
bool UseBG [get]
 
bool UseGrid [get]
 
bool IsMagicChest [get]
 
bool IsToolbelt [get]
 
bool IsShop [get]
 
CoreRef.InventoryStyle InvStyle [get]
 
bool IsMainMode [get]
 
CurrencyType CurrencyType [get]
 
string IDCurrency [get]
 
- Properties inherited from EMono
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 Scene scene [get]
 
static BaseGameScreen screen [get]
 
static GameSetting setting [get]
 
static GameData gamedata [get]
 
static ColorProfile Colors [get]
 
static World world [get]
 
static SoundManager Sound [get]
 
static SourceManager sources [get]
 
static SourceManager editorSources [get]
 
static CoreDebug debug [get]
 

Additional Inherited Members

- Static Public Attributes inherited from EMono
static Core core
 

Detailed Description

Definition at line 8 of file UIInventory.cs.

Member Enumeration Documentation

◆ InteractMode

enum UIInventory.InteractMode

Definition at line 1565 of file UIInventory.cs.

◆ Mode

enum UIInventory.Mode

Definition at line 1499 of file UIInventory.cs.

◆ SubMode

enum UIInventory.SubMode

Definition at line 1554 of file UIInventory.cs.

Member Function Documentation

◆ AddTab() [1/2]

UIInventory.Tab UIInventory.AddTab ( Card c,
UIInventory.Mode mode,
Thing container = null )

Definition at line 161 of file UIInventory.cs.

◆ AddTab() [2/2]

UIInventory.Tab UIInventory.AddTab ( InvOwner owner,
UIInventory.Mode mode = UIInventory::Mode::All )

Definition at line 167 of file UIInventory.cs.

◆ CheckDirty()

void UIInventory.CheckDirty ( )

Definition at line 381 of file UIInventory.cs.

◆ Close()

void UIInventory.Close ( )

Definition at line 277 of file UIInventory.cs.

◆ DestNumIsMax()

bool UIInventory.DestNumIsMax ( )

Definition at line 414 of file UIInventory.cs.

◆ DoAct()

void UIInventory.DoAct ( Act act)

Definition at line 332 of file UIInventory.cs.

◆ OnInit()

void UIInventory.OnInit ( )

Definition at line 180 of file UIInventory.cs.

◆ RefreshAllList()

static void UIInventory.RefreshAllList ( )
static

Definition at line 145 of file UIInventory.cs.

◆ RefreshDestNum()

void UIInventory.RefreshDestNum ( )

Definition at line 399 of file UIInventory.cs.

◆ RefreshGrid()

void UIInventory.RefreshGrid ( )

Definition at line 1177 of file UIInventory.cs.

◆ RefreshHighlight()

void UIInventory.RefreshHighlight ( )

Definition at line 1157 of file UIInventory.cs.

◆ RefreshList()

void UIInventory.RefreshList ( )

Definition at line 1072 of file UIInventory.cs.

◆ RefreshMenu()

void UIInventory.RefreshMenu ( )

Definition at line 421 of file UIInventory.cs.

◆ RefreshWindow()

void UIInventory.RefreshWindow ( )

Definition at line 238 of file UIInventory.cs.

◆ SetHeader()

void UIInventory.SetHeader ( string s)

Definition at line 155 of file UIInventory.cs.

◆ ShowAdvDistribution()

Transform UIInventory.ShowAdvDistribution ( UIContextMenu dis,
Window.SaveData data )

Definition at line 970 of file UIInventory.cs.

◆ ShowDistribution()

Transform UIInventory.ShowDistribution ( UIContextMenu dis,
Window.SaveData data )

Definition at line 927 of file UIInventory.cs.

◆ Sort()

void UIInventory.Sort ( bool magicSort = false)

Definition at line 978 of file UIInventory.cs.

◆ SwitchTab()

void UIInventory.SwitchTab ( UIInventory.Tab tab)

Definition at line 286 of file UIInventory.cs.

Member Data Documentation

◆ actionClick

Action<Thing> UIInventory.actionClick

Definition at line 1414 of file UIInventory.cs.

◆ bodySlot

BodySlot UIInventory.bodySlot

Definition at line 1396 of file UIInventory.cs.

◆ buttonTakeAll

UIButton UIInventory.buttonTakeAll

Definition at line 1459 of file UIInventory.cs.

◆ content

UIContent UIInventory.content

Definition at line 1420 of file UIInventory.cs.

◆ currentAct

AIAct UIInventory.currentAct

Definition at line 1426 of file UIInventory.cs.

◆ currentTab

UIInventory.Tab UIInventory.currentTab

Definition at line 1423 of file UIInventory.cs.

◆ dirty

bool UIInventory.dirty

Definition at line 1435 of file UIInventory.cs.

◆ floatMode

bool UIInventory.floatMode

Definition at line 1432 of file UIInventory.cs.

◆ funcList

Func<Thing, bool> UIInventory.funcList

Definition at line 1411 of file UIInventory.cs.

◆ headerRow

Transform UIInventory.headerRow

Definition at line 1402 of file UIInventory.cs.

◆ idMold

string UIInventory.idMold

Definition at line 1408 of file UIInventory.cs.

◆ imageHighlight

Image UIInventory.imageHighlight

Definition at line 1444 of file UIInventory.cs.

◆ imageHighlightGrid

Image UIInventory.imageHighlightGrid

Definition at line 1447 of file UIInventory.cs.

◆ interactMode

UIInventory.InteractMode UIInventory.interactMode

Definition at line 1429 of file UIInventory.cs.

◆ isList

bool UIInventory.isList

Definition at line 1438 of file UIInventory.cs.

◆ lastTransaction

UIInventory.Transaction UIInventory.lastTransaction

Definition at line 1441 of file UIInventory.cs.

◆ layer

LayerInventory UIInventory.layer

Definition at line 1399 of file UIInventory.cs.

◆ list

UIList UIInventory.list

Definition at line 1393 of file UIInventory.cs.

◆ moldButtonGrid

ButtonGrid UIInventory.moldButtonGrid

Definition at line 1453 of file UIInventory.cs.

◆ moldButtonGridless

ButtonGrid UIInventory.moldButtonGridless

Definition at line 1456 of file UIInventory.cs.

◆ moldSmallTab

UIButton UIInventory.moldSmallTab

Definition at line 1450 of file UIInventory.cs.

◆ tabs

List<UIInventory.Tab> UIInventory.tabs = new List<UIInventory.Tab>()

Definition at line 1474 of file UIInventory.cs.

◆ transOverflow

Transform UIInventory.transOverflow

Definition at line 1405 of file UIInventory.cs.

◆ uiMagic

UIMagicChest UIInventory.uiMagic

Definition at line 1462 of file UIInventory.cs.

◆ wasDirty

bool UIInventory.wasDirty

Definition at line 1477 of file UIInventory.cs.

◆ window

Window UIInventory.window

Definition at line 1417 of file UIInventory.cs.

Property Documentation

◆ CurrencyType

CurrencyType UIInventory.CurrencyType
get

Definition at line 117 of file UIInventory.cs.

◆ dest

Card UIInventory.dest
get

Definition at line 22 of file UIInventory.cs.

◆ IDCurrency

string UIInventory.IDCurrency
get

Definition at line 127 of file UIInventory.cs.

◆ InvStyle

CoreRef.InventoryStyle UIInventory.InvStyle
get

Definition at line 82 of file UIInventory.cs.

◆ IsMagicChest

bool UIInventory.IsMagicChest
get

Definition at line 52 of file UIInventory.cs.

◆ IsMainMode

bool UIInventory.IsMainMode
get

Definition at line 92 of file UIInventory.cs.

◆ IsShop

bool UIInventory.IsShop
get

Definition at line 72 of file UIInventory.cs.

◆ IsToolbelt

bool UIInventory.IsToolbelt
get

Definition at line 62 of file UIInventory.cs.

◆ owner

InvOwner UIInventory.owner
get

Definition at line 12 of file UIInventory.cs.

◆ UseBG

bool UIInventory.UseBG
get

Definition at line 32 of file UIInventory.cs.

◆ UseGrid

bool UIInventory.UseGrid
get

Definition at line 42 of file UIInventory.cs.


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