C# Class Aura.Channel.World.Inventory.BankTabPocket

Inheritance: InventoryPocketNormal
显示文件 Open project: aura-project/aura

Public Methods

Method Description
BankTabPocket ( string name, long creatureId, BankTabRace race, int width, int height ) : Aura.Channel.Network.Sending
GetItemList ( ) : IList

Returns thread-safe list of items in this pocket.

TryAdd ( Item item, int x, int y ) : bool

Attempts to add the item at the given position.

TODO: Inventory really needs some refactoring, we shouldn't have to override such methods.

Method Details

BankTabPocket() public method

public BankTabPocket ( string name, long creatureId, BankTabRace race, int width, int height ) : Aura.Channel.Network.Sending
name string
creatureId long
race BankTabRace
width int
height int
return Aura.Channel.Network.Sending

GetItemList() public method

Returns thread-safe list of items in this pocket.
public GetItemList ( ) : IList
return IList

TryAdd() public method

Attempts to add the item at the given position.
TODO: Inventory really needs some refactoring, we shouldn't have to override such methods.
public TryAdd ( Item item, int x, int y ) : bool
item Item
x int
y int
return bool