diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-01-06 14:55:47 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-01-06 14:55:47 +0300 |
commit | 773f760bc1a308152265c40161789d8ae318aba4 (patch) | |
tree | 58b56e08d110d78ae996c34118ed279a80f7520b /src/net/eathena | |
parent | 326ad8b0aa5ebdd55ec3f7d41238d578cafb3e23 (diff) | |
download | manaverse-773f760bc1a308152265c40161789d8ae318aba4.tar.gz manaverse-773f760bc1a308152265c40161789d8ae318aba4.tar.bz2 manaverse-773f760bc1a308152265c40161789d8ae318aba4.tar.xz manaverse-773f760bc1a308152265c40161789d8ae318aba4.zip |
Rename function AuctionHandler::cancelRequest into AuctionHandler::cancelReg.
Diffstat (limited to 'src/net/eathena')
-rw-r--r-- | src/net/eathena/auctionhandler.cpp | 4 | ||||
-rw-r--r-- | src/net/eathena/auctionhandler.h | 2 | ||||
-rw-r--r-- | src/net/eathena/protocol.h | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/net/eathena/auctionhandler.cpp b/src/net/eathena/auctionhandler.cpp index a3c911e59..f390e2aae 100644 --- a/src/net/eathena/auctionhandler.cpp +++ b/src/net/eathena/auctionhandler.cpp @@ -124,9 +124,9 @@ void AuctionHandler::processAuctionClose(Net::MessageIn &msg) msg.readInt16("flag"); } -void AuctionHandler::cancelRequest() const +void AuctionHandler::cancelReg() const { - createOutPacket(CMSG_AUCTION_CANCEL_REQUEST); + createOutPacket(CMSG_AUCTION_CANCEL_REG); outMsg.writeInt16(0, "type"); // unused } diff --git a/src/net/eathena/auctionhandler.h b/src/net/eathena/auctionhandler.h index 987cb2e57..0c8ccee3a 100644 --- a/src/net/eathena/auctionhandler.h +++ b/src/net/eathena/auctionhandler.h @@ -36,7 +36,7 @@ class AuctionHandler final : public MessageHandler, public Net::AuctionHandler void handleMessage(Net::MessageIn &msg) override final; - void cancelRequest() const override final; + void cancelReg() const override final; void setItem(const Item *const item, const int amount) const override final; diff --git a/src/net/eathena/protocol.h b/src/net/eathena/protocol.h index a413fb587..8ec1ff842 100644 --- a/src/net/eathena/protocol.h +++ b/src/net/eathena/protocol.h @@ -516,7 +516,7 @@ #define CMSG_FRIENDS_REQUEST_ACK 0x0208 #define CMSG_FRIENDS_DELETE_PLAYER 0x020a -#define CMSG_AUCTION_CANCEL_REQUEST 0x024b +#define CMSG_AUCTION_CANCEL_REG 0x024b #define CMSG_AUCTION_SET_ITEM 0x024c #define CMSG_AUCTION_REGISTER 0x024d |