Свойство | Type | Description |
---|
Méthode | Description | |
---|---|---|
AddGold ( |
Adds gold to bank, sends update, and returns the new amount.
|
|
AddTab ( string name, long creatureId, BankTabRace race, int width, int height ) : void |
Adds bank tab pocket.
|
|
BankInventory ( ) : Aura.Channel.Network.Sending |
Creates new account bank.
|
|
DepositItem ( |
Moves item from creature's inventory into bank.
|
|
GetAllItems ( ) : IList |
Returns all items in the bank.
|
|
GetItem ( long itemEntityId ) : Item |
Returns item with the given entity id, or null if the item doesn't exist.
|
|
GetName ( string bankId ) : string |
Returns name for the bank with the given id, or null if the bank doesn't exist.
|
|
GetTabItems ( string tabName ) : IList |
Returns all items in specified tab. Returns an empty list if tab doesn't exist.
|
|
GetTabList ( ) : IList |
Returns thread-safe list of tabs.
|
|
GetTabList ( BankTabRace race ) : IList |
Returns thread-safe list of tabs.
|
|
GetTransferFee ( Item item, string fromBankId, string toBankId ) : int |
Returns the gold fee to transfer an item from one bank to the other. The parameters are the ids. Unofficial, but works well. |
|
GetTransferTime ( string fromBankId, string toBankId ) : int |
Returns the time it takes to transfer an item from one bank to the other in milliseconds. Unofficial, but works well. |
|
InitAdd ( string tabName, Item item ) : bool |
Adds item to tab without any checks (only use for initialization).
|
|
RemoveGold ( |
Removes gold to bank, sends update, and returns the new amount.
|
|
Transfer ( |
Attempts to start a transfer of the given item to the bank the creature is currently using.
|
|
WithdrawItem ( |
Moves item with given id from bank to creature's cursor pocket. Returns whether it was successful or not.
|
public AddGold ( |
||
creature | Creature removing gold (needed for updating) | |
amount | int | Amount of gold |
Résultat | int |
public AddTab ( string name, long creatureId, BankTabRace race, int width, int height ) : void | ||
name | string | Name of the tab (character) |
creatureId | long | |
race | BankTabRace | Race filter id (1|2|3) |
width | int | Width of the tab pocket |
height | int | Height of the tab pocket |
Résultat | void |
public BankInventory ( ) : Aura.Channel.Network.Sending | ||
Résultat | Aura.Channel.Network.Sending |
public DepositItem ( |
||
creature | ||
itemEntityId | long | |
bankId | string | |
tabName | string | |
x | int | |
y | int | |
Résultat | bool |
public GetItem ( long itemEntityId ) : Item | ||
itemEntityId | long | |
Résultat | Item |
public static GetName ( string bankId ) : string | ||
bankId | string | |
Résultat | string |
public GetTabItems ( string tabName ) : IList |
||
tabName | string | |
Résultat | IList |
public GetTabList ( BankTabRace race ) : IList |
||
race | BankTabRace | |
Résultat | IList |
public static GetTransferFee ( Item item, string fromBankId, string toBankId ) : int | ||
item | Item | Item that is to be transferred. |
fromBankId | string | The id of the bank the item is at. |
toBankId | string | The id of the bank the item is transferred to. |
Résultat | int |
public static GetTransferTime ( string fromBankId, string toBankId ) : int | ||
fromBankId | string | The id of the bank the item is at. |
toBankId | string | The id of the bank the item is transferred to. |
Résultat | int |
public InitAdd ( string tabName, Item item ) : bool | ||
tabName | string | |
item | Item | |
Résultat | bool |
public RemoveGold ( |
||
creature | Creature adding gold (needed for updating) | |
amount | int | Amount of gold |
Résultat | int |
public Transfer ( |
||
creature | ||
itemEntityId | long | |
instantTransfer | bool | |
Résultat | bool |
public WithdrawItem ( |
||
creature | ||
tabName | string | |
itemEntityId | long | |
Résultat | bool |