diff options
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/cashshophandler.h | 8 | ||||
-rw-r--r-- | src/net/eathena/cashshophandler.cpp | 8 | ||||
-rw-r--r-- | src/net/eathena/cashshophandler.h | 8 | ||||
-rw-r--r-- | src/net/tmwa/cashshophandler.cpp | 8 | ||||
-rw-r--r-- | src/net/tmwa/cashshophandler.h | 8 |
5 files changed, 20 insertions, 20 deletions
diff --git a/src/net/cashshophandler.h b/src/net/cashshophandler.h index 5ca5fd8af..ed01779fd 100644 --- a/src/net/cashshophandler.h +++ b/src/net/cashshophandler.h @@ -34,10 +34,10 @@ class CashShopHandler notfinal virtual ~CashShopHandler() { } - virtual void buy(const int points, - const int itemId, - const unsigned char color, - const int amount) const = 0; + virtual void buyItem(const int points, + const int itemId, + const unsigned char color, + const int amount) const = 0; }; diff --git a/src/net/eathena/cashshophandler.cpp b/src/net/eathena/cashshophandler.cpp index 63cd03a04..b04eec445 100644 --- a/src/net/eathena/cashshophandler.cpp +++ b/src/net/eathena/cashshophandler.cpp @@ -96,10 +96,10 @@ void CashShopHandler::processCashShopBuyAck(Net::MessageIn &msg) msg.readInt16("error"); } -void CashShopHandler::buy(const int points, - const int itemId, - const unsigned char color A_UNUSED, - const int amount) const +void CashShopHandler::buyItem(const int points, + const int itemId, + const unsigned char color A_UNUSED, + const int amount) const { createOutPacket(CMSG_NPC_CASH_SHOP_BUY); outMsg.writeInt16(10 + 4, "len"); diff --git a/src/net/eathena/cashshophandler.h b/src/net/eathena/cashshophandler.h index ae99d8e9e..2c7f0b56e 100644 --- a/src/net/eathena/cashshophandler.h +++ b/src/net/eathena/cashshophandler.h @@ -39,10 +39,10 @@ class CashShopHandler final : public MessageHandler, void handleMessage(Net::MessageIn &msg) override final; - void buy(const int points, - const int itemId, - const unsigned char color, - const int amount) const override final; + void buyItem(const int points, + const int itemId, + const unsigned char color, + const int amount) const override final; protected: static void processCashShopOpen(Net::MessageIn &msg); diff --git a/src/net/tmwa/cashshophandler.cpp b/src/net/tmwa/cashshophandler.cpp index 7eab823df..991aad5aa 100644 --- a/src/net/tmwa/cashshophandler.cpp +++ b/src/net/tmwa/cashshophandler.cpp @@ -42,10 +42,10 @@ void CashShopHandler::handleMessage(Net::MessageIn &msg A_UNUSED) { } -void CashShopHandler::buy(const int points A_UNUSED, - const int itemId A_UNUSED, - const unsigned char color A_UNUSED, - const int amount A_UNUSED) const +void CashShopHandler::buyItem(const int points A_UNUSED, + const int itemId A_UNUSED, + const unsigned char color A_UNUSED, + const int amount A_UNUSED) const { } diff --git a/src/net/tmwa/cashshophandler.h b/src/net/tmwa/cashshophandler.h index cbd558d9d..6f79c8480 100644 --- a/src/net/tmwa/cashshophandler.h +++ b/src/net/tmwa/cashshophandler.h @@ -38,10 +38,10 @@ class CashShopHandler final : public MessageHandler, void handleMessage(Net::MessageIn &msg) override final; - void buy(const int points, - const int itemId, - const unsigned char color, - const int amount) const override final; + void buyItem(const int points, + const int itemId, + const unsigned char color, + const int amount) const override final; }; } // namespace TmwAthena |