NGUI: Next-Gen UI kit  3.7.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros
InvDatabase Class Reference
Inheritance diagram for InvDatabase:

Static Public Member Functions

static InvBaseItem FindByID (int id32)
 Find the specified item given its full 32-bit ID (not to be confused with individual 16-bit item IDs). More...
 
static InvBaseItem FindByName (string exact)
 Find the item with the specified name. More...
 
static int FindItemID (InvBaseItem item)
 Get the full 32-bit ID of the specified item. Use this to get a list of items on the character that can get saved out to an external database or file. More...
 

Public Attributes

int databaseID = 0
 Each database should have a unique 16-bit ID. When the items are saved, database IDs get combined with item IDs to create 32-bit IDs containing both values. More...
 
List< InvBaseItemitems = new List<InvBaseItem>()
 List of items in this database. More...
 
UIAtlas iconAtlas
 UI atlas used for icons. More...
 

Properties

static InvDatabase[] list [get]
 Retrieves the list of item databases, finding all instances if necessary. More...
 

Member Function Documentation

static InvBaseItem InvDatabase.FindByID ( int  id32)
static

Find the specified item given its full 32-bit ID (not to be confused with individual 16-bit item IDs).

static InvBaseItem InvDatabase.FindByName ( string  exact)
static

Find the item with the specified name.

static int InvDatabase.FindItemID ( InvBaseItem  item)
static

Get the full 32-bit ID of the specified item. Use this to get a list of items on the character that can get saved out to an external database or file.

Member Data Documentation

int InvDatabase.databaseID = 0

Each database should have a unique 16-bit ID. When the items are saved, database IDs get combined with item IDs to create 32-bit IDs containing both values.

UIAtlas InvDatabase.iconAtlas

UI atlas used for icons.

List<InvBaseItem> InvDatabase.items = new List<InvBaseItem>()

List of items in this database.

Property Documentation

InvDatabase [] InvDatabase.list
staticget

Retrieves the list of item databases, finding all instances if necessary.


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