Elin Modding Docs Doc
Loading...
Searching...
No Matches
LayerInventory Class Reference
Inheritance diagram for LayerInventory:
ELayer

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 ()
 
- Public Member Functions inherited from ELayer
override void OnBeforeAddLayer ()
 
void InitInspector ()
 
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 ()
 

Static Public Member Functions

static LayerInventory GetTopLayer (Thing t, bool includePlayer=false, InvOwner exclude=null)
 
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 Public Member Functions inherited from ELayer
static int rnd (int a)
 

Public Attributes

List< UIInventoryinvs = new List<UIInventory>()
 
UICurrency uiCurrency
 
bool floatInv
 
bool mainInv
 
WindowCharaMini mini
 
bool wasInventoryOpen
 

Static Public Attributes

static List< LayerInventorylistInv = new List<LayerInventory>()
 
static InvOwner highlightInv
 

Properties

InvOwner Inv [get]
 
- Properties inherited from ELayer
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]
 

Additional Inherited Members

- Protected Member Functions inherited from ELayer
override void _Close ()
 
override void Kill ()
 

Detailed Description

Definition at line 6 of file LayerInventory.cs.

Member Function Documentation

◆ _Create()

static LayerInventory LayerInventory._Create ( string path = "")
static

Definition at line 331 of file LayerInventory.cs.

◆ Close()

static void LayerInventory.Close ( Thing t)
static

Definition at line 43 of file LayerInventory.cs.

◆ CloseAllyInv() [1/2]

static void LayerInventory.CloseAllyInv ( )
static

Definition at line 369 of file LayerInventory.cs.

◆ CloseAllyInv() [2/2]

static bool LayerInventory.CloseAllyInv ( Chara c)
static

Definition at line 355 of file LayerInventory.cs.

◆ CreateBuy()

static LayerInventory LayerInventory.CreateBuy ( Card c,
CurrencyType currency = CurrencyType::Money,
PriceType price = PriceType::Default )
static

Definition at line 599 of file LayerInventory.cs.

◆ CreateContainer() [1/2]

static LayerInventory LayerInventory.CreateContainer ( Card owner)
static

Definition at line 529 of file LayerInventory.cs.

◆ CreateContainer() [2/2]

static LayerInventory LayerInventory.CreateContainer ( Card owner,
Card container )
static

Definition at line 550 of file LayerInventory.cs.

◆ CreateContainer< T >()

static LayerInventory LayerInventory.CreateContainer< T > ( Card c,
Card container,
CurrencyType currency = CurrencyType::None )
static
Type Constraints
T :InvOwner 

Definition at line 575 of file LayerInventory.cs.

◆ CreateContainerAlly()

static LayerInventory LayerInventory.CreateContainerAlly ( Chara owner,
Card container )
static

Definition at line 381 of file LayerInventory.cs.

◆ CreateContainerPC()

static LayerInventory LayerInventory.CreateContainerPC ( Card container)
static

Definition at line 431 of file LayerInventory.cs.

◆ CreatePCBackpack()

static LayerInventory LayerInventory.CreatePCBackpack ( bool mousePos = false)
static

Definition at line 341 of file LayerInventory.cs.

◆ GetPCLayer()

static LayerInventory LayerInventory.GetPCLayer ( )
static

Definition at line 29 of file LayerInventory.cs.

◆ GetPlayerContainer()

Card LayerInventory.GetPlayerContainer ( )

Definition at line 208 of file LayerInventory.cs.

◆ GetTopLayer()

static LayerInventory LayerInventory.GetTopLayer ( Thing t,
bool includePlayer = false,
InvOwner exclude = null )
static

Definition at line 9 of file LayerInventory.cs.

◆ HeaderIsListOf()

override bool LayerInventory.HeaderIsListOf ( int id)

Definition at line 219 of file LayerInventory.cs.

◆ IsOpen() [1/2]

static bool LayerInventory.IsOpen ( Card container)
static

Definition at line 415 of file LayerInventory.cs.

◆ IsOpen() [2/2]

static bool LayerInventory.IsOpen ( Thing t)
static

Definition at line 56 of file LayerInventory.cs.

◆ IsPlayerContainer()

bool LayerInventory.IsPlayerContainer ( bool includePlayer = false)

Definition at line 202 of file LayerInventory.cs.

◆ OnAfterInit()

override void LayerInventory.OnAfterInit ( )

Definition at line 248 of file LayerInventory.cs.

◆ OnInit()

override void LayerInventory.OnInit ( )

Definition at line 225 of file LayerInventory.cs.

◆ OnKill()

override void LayerInventory.OnKill ( )

Definition at line 284 of file LayerInventory.cs.

◆ OnRightClick()

override void LayerInventory.OnRightClick ( )

Definition at line 318 of file LayerInventory.cs.

◆ OnUpdateInput()

override void LayerInventory.OnUpdateInput ( )

Definition at line 272 of file LayerInventory.cs.

◆ SetDirty()

static void LayerInventory.SetDirty ( Thing t)
static

Definition at line 72 of file LayerInventory.cs.

◆ SetDirtyAll()

static void LayerInventory.SetDirtyAll ( bool immediate = false)
static

Definition at line 96 of file LayerInventory.cs.

◆ SetInv()

UIInventory LayerInventory.SetInv ( int idWindow = 0)

Definition at line 263 of file LayerInventory.cs.

◆ TryShowGuide() [1/2]

static void LayerInventory.TryShowGuide ( List< ButtonGrid > list)
static

Definition at line 137 of file LayerInventory.cs.

◆ TryShowGuide() [2/2]

static void LayerInventory.TryShowGuide ( UIList list)
static

Definition at line 122 of file LayerInventory.cs.

Member Data Documentation

◆ floatInv

bool LayerInventory.floatInv

Definition at line 637 of file LayerInventory.cs.

◆ highlightInv

InvOwner LayerInventory.highlightInv
static

Definition at line 628 of file LayerInventory.cs.

◆ invs

List<UIInventory> LayerInventory.invs = new List<UIInventory>()

Definition at line 631 of file LayerInventory.cs.

◆ listInv

List<LayerInventory> LayerInventory.listInv = new List<LayerInventory>()
static

Definition at line 625 of file LayerInventory.cs.

◆ mainInv

bool LayerInventory.mainInv

Definition at line 640 of file LayerInventory.cs.

◆ mini

WindowCharaMini LayerInventory.mini

Definition at line 643 of file LayerInventory.cs.

◆ uiCurrency

UICurrency LayerInventory.uiCurrency

Definition at line 634 of file LayerInventory.cs.

◆ wasInventoryOpen

bool LayerInventory.wasInventoryOpen

Definition at line 647 of file LayerInventory.cs.

Property Documentation

◆ Inv

InvOwner LayerInventory.Inv
get

Definition at line 193 of file LayerInventory.cs.


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