diff options
Diffstat (limited to 'src/net/tmwa')
-rw-r--r-- | src/net/tmwa/cashshophandler.cpp | 4 | ||||
-rw-r--r-- | src/net/tmwa/cashshophandler.h | 2 | ||||
-rw-r--r-- | src/net/tmwa/markethandler.cpp | 4 | ||||
-rw-r--r-- | src/net/tmwa/markethandler.h | 2 | ||||
-rw-r--r-- | src/net/tmwa/npchandler.cpp | 4 | ||||
-rw-r--r-- | src/net/tmwa/npchandler.h | 2 | ||||
-rw-r--r-- | src/net/tmwa/serverfeatures.cpp | 5 | ||||
-rw-r--r-- | src/net/tmwa/serverfeatures.h | 2 |
8 files changed, 25 insertions, 0 deletions
diff --git a/src/net/tmwa/cashshophandler.cpp b/src/net/tmwa/cashshophandler.cpp index a0b6d64cd..e940d2a54 100644 --- a/src/net/tmwa/cashshophandler.cpp +++ b/src/net/tmwa/cashshophandler.cpp @@ -39,6 +39,10 @@ void CashShopHandler::buyItem(const int points A_UNUSED, { } +void CashShopHandler::buyItems(std::vector<ShopItem*> &items A_UNUSED) const +{ +} + void CashShopHandler::close() const { } diff --git a/src/net/tmwa/cashshophandler.h b/src/net/tmwa/cashshophandler.h index 7d90067c8..c81ed394e 100644 --- a/src/net/tmwa/cashshophandler.h +++ b/src/net/tmwa/cashshophandler.h @@ -40,6 +40,8 @@ class CashShopHandler final : public Net::CashShopHandler const ItemColor color, const int amount) const override final; + void buyItems(std::vector<ShopItem*> &items) const override final; + void close() const override final; void requestPoints() const override final; diff --git a/src/net/tmwa/markethandler.cpp b/src/net/tmwa/markethandler.cpp index b9dbfa4bb..4eb36c841 100644 --- a/src/net/tmwa/markethandler.cpp +++ b/src/net/tmwa/markethandler.cpp @@ -43,4 +43,8 @@ void MarketHandler::buyItem(const int itemId A_UNUSED, { } +void MarketHandler::buyItems(std::vector<ShopItem*> &items A_UNUSED) const +{ +} + } // namespace TmwAthena diff --git a/src/net/tmwa/markethandler.h b/src/net/tmwa/markethandler.h index 7bbf04aea..9cd4b0b8b 100644 --- a/src/net/tmwa/markethandler.h +++ b/src/net/tmwa/markethandler.h @@ -40,6 +40,8 @@ class MarketHandler final : public Net::MarketHandler const int type, const ItemColor color, const int amount) const override final; + + void buyItems(std::vector<ShopItem*> &items) const override final; }; } // namespace TmwAthena diff --git a/src/net/tmwa/npchandler.cpp b/src/net/tmwa/npchandler.cpp index 4b24bce1f..57ad5850f 100644 --- a/src/net/tmwa/npchandler.cpp +++ b/src/net/tmwa/npchandler.cpp @@ -130,6 +130,10 @@ void NpcHandler::buyItem(const BeingId beingId A_UNUSED, outMsg.writeInt16(static_cast<int16_t>(itemId), "item id"); } +void NpcHandler::buyItems(std::vector<ShopItem*> &items A_UNUSED) const +{ +} + void NpcHandler::sellItem(const BeingId beingId A_UNUSED, const int itemId, const int amount) const diff --git a/src/net/tmwa/npchandler.h b/src/net/tmwa/npchandler.h index 3a3cb1969..6eed8e81f 100644 --- a/src/net/tmwa/npchandler.h +++ b/src/net/tmwa/npchandler.h @@ -59,6 +59,8 @@ class NpcHandler final : public Ea::NpcHandler const ItemColor color, const int amount) const override final; + void buyItems(std::vector<ShopItem*> &items) const override final; + void sellItem(const BeingId beingId, const int itemId, const int amount) const override final; diff --git a/src/net/tmwa/serverfeatures.cpp b/src/net/tmwa/serverfeatures.cpp index 566bcc983..a2d60675a 100644 --- a/src/net/tmwa/serverfeatures.cpp +++ b/src/net/tmwa/serverfeatures.cpp @@ -244,4 +244,9 @@ bool ServerFeatures::haveExtendedRiding() const return false; } +bool ServerFeatures::haveAdvancedBuySell() const +{ + return false; +} + } // namespace TmwAthena diff --git a/src/net/tmwa/serverfeatures.h b/src/net/tmwa/serverfeatures.h index 33eb1457d..7a0008583 100644 --- a/src/net/tmwa/serverfeatures.h +++ b/src/net/tmwa/serverfeatures.h @@ -117,6 +117,8 @@ class ServerFeatures final : public Net::ServerFeatures bool haveAdvancedSprites() const override final; bool haveExtendedRiding() const override final; + + bool haveAdvancedBuySell() const override final; }; } // namespace TmwAthena |