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

A UI script that keeps an eye on the slot in character equipment. More...

Inheritance diagram for UIEquipmentSlot:
UIItemSlot

Public Attributes

InvEquipment equipment
 
InvBaseItem.Slot slot
 
- 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 character equipment.

Member Function Documentation

override InvGameItem UIEquipmentSlot.Replace ( InvGameItem  item)
protectedvirtual

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

Implements UIItemSlot.

Member Data Documentation

InvEquipment UIEquipmentSlot.equipment
InvBaseItem.Slot UIEquipmentSlot.slot

Property Documentation

override InvGameItem UIEquipmentSlot.observedItem
getprotected

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