Method | Description | |
---|---|---|
Add ( Item item ) : void |
Adds item.
|
|
Clear ( ) : void |
Removes all items from tab.
|
|
Get ( long entityId ) : Item |
Returns item by entity id, or null.
|
|
GetItems ( ) : ICollection |
Returns thread-safe list of all items in the tab.
|
|
NpcShopTab ( string title, int order, bool randomizeColors, Func |
Creatures new NpcShopTab
|
|
RandomizeItemColors ( ) : void |
Randomizes all item's colors.
|
public NpcShopTab ( string title, int order, bool randomizeColors, Func |
||
title | string | Tab title display in-game. |
order | int | |
randomizeColors | bool | |
display | Func |
Function that determines whether tab should be displayed, set null if not used. |
return | System |