Méthode | Description | |
---|---|---|
Buy ( |
Attempts to buy the given item for buyer, returns true if successful.
|
|
CanPlace ( |
Returns true if creature can place shop at their current location.
|
|
ChangeDescription ( string description ) : void |
Changes shop's description.
|
|
ChangeTitle ( string title ) : void |
Changes shop's title.
|
|
CloseFor ( |
Opens shop for given creature.
|
|
GetAllItems ( ) : List |
Returns new list of all items in shop's bag.
|
|
GetBagLayout ( ) : string |
Returns the layout of the bag, used in the shop open packet.
|
|
GetPricedItems ( ) : List |
Returns new list of all items with prices in shop's bag.
|
|
OpenFor ( |
Opens shop for given creature.
|
|
PersonalShop ( |
Creates new PersonalShop instance. Does not actually create shop.
|
|
SetOverseer ( |
Sets the shop's overseer (brownie/pet).
|
|
SetPrice ( long itemEntityId, int price ) : bool |
Sets the price for the given item, returns true on success.
|
|
SetPrices ( long itemEntityId, int price ) : bool |
Sets the price for the given item, returns true on success.
|
|
SetUp ( string title, string description ) : bool |
Sets up shop, spawning the prop.
|
|
TakeDown ( ) : void |
Closes the shop for all customers and takes it down, removing the prop.
|
Méthode | Description | |
---|---|---|
ForAllCustomers ( Action |
Executes the given action for all current customers.
|
|
GetPlacementPosition ( Position pos, byte direction ) : Position |
Returns position for the shop, based on given position and direction.
|
|
GetShopPropId ( Item item ) : int |
Returns the prop id to be used for the given bag.
|
|
UpdatePrice ( Item item, int price ) : void |
Updates price for given item and updates clients.
|
public Buy ( |
||
buyer | ||
itemEntityId | long | |
directBankTransaction | bool | |
Résultat | bool |
public static CanPlace ( |
||
creature | ||
license | string | |
Résultat | bool |
public ChangeDescription ( string description ) : void | ||
description | string | |
Résultat | void |
public CloseFor ( |
||
creature | ||
Résultat | void |
public OpenFor ( |
||
creature | ||
Résultat | void |
public PersonalShop ( |
||
owner | ||
bag | Item | |
license | Item | |
Résultat | Aura.Channel.Network.Sending |
public SetOverseer ( |
||
overseer | Set to null to remove overseer. | |
itemEntityId | long | |
Résultat | bool |
public SetPrice ( long itemEntityId, int price ) : bool | ||
itemEntityId | long | |
price | int | |
Résultat | bool |
public SetPrices ( long itemEntityId, int price ) : bool | ||
itemEntityId | long | |
price | int | |
Résultat | bool |
public SetUp ( string title, string description ) : bool | ||
title | string | |
description | string | |
Résultat | bool |