2018-11-24 15:17:18 +11:00
|
|
|
#include "ForwardsZone.h"
|
|
|
|
|
|
|
|
namespace Sapphire::World::Manager
|
|
|
|
{
|
2020-03-01 01:00:57 +11:00
|
|
|
class ShopMgr
|
2018-11-24 15:17:18 +11:00
|
|
|
{
|
|
|
|
public:
|
2020-03-01 01:00:57 +11:00
|
|
|
ShopMgr() = default;
|
2018-11-29 16:55:48 +01:00
|
|
|
bool purchaseGilShopItem( Sapphire::Entity::Player& player, uint32_t shopId, uint16_t itemId, uint32_t quantity );
|
2020-05-11 06:25:25 +09:00
|
|
|
bool shopSellItem( Sapphire::Entity::Player& player, uint32_t shopId, uint16_t containerId, uint16_t slotId );
|
|
|
|
bool shopBuyBack( Sapphire::Entity::Player& player, uint32_t shopId, uint16_t index );
|
2018-11-24 15:17:18 +11:00
|
|
|
};
|
|
|
|
}
|