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

Inheritance: InventoryPocketNormal
Afficher le fichier Open project: aura-project/aura

Méthodes publiques

Méthode 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 méthode

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
Résultat Aura.Channel.Network.Sending

GetItemList() public méthode

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

TryAdd() public méthode

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
Résultat bool