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

A UI script that keeps an eye on the slot in a storage container. More...

Inheritance diagram for UIStorageSlot:
UIItemSlot

Public Attributes

UIItemStorage storage
 
int slot = 0
 
- Public Attributes inherited from UIItemSlot
UISprite icon
 
UIWidget background
 
UILabel label
 
AudioClip grabSound
 
AudioClip placeSound
 
AudioClip errorSound
 

Protected Member Functions

override InvGameItem Replace (InvGameItem item)
 Replace the observed item with the specified value. Should return the item that was replaced. More...
 

Properties

override InvGameItem observedItem [get]
 
- Properties inherited from UIItemSlot
abstract InvGameItem observedItem [get]
 This function should return the item observed by this UI class. More...
 

Detailed Description

A UI script that keeps an eye on the slot in a storage container.

Member Function Documentation

override InvGameItem UIStorageSlot.Replace ( InvGameItem  item)
protectedvirtual

Replace the observed item with the specified value. Should return the item that was replaced.

Implements UIItemSlot.

Member Data Documentation

int UIStorageSlot.slot = 0
UIItemStorage UIStorageSlot.storage

Property Documentation

override InvGameItem UIStorageSlot.observedItem
getprotected

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