diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-08-24 15:10:32 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-08-24 16:13:52 +0300 |
commit | fa438213238272cce9a120da849d6c6a7157e107 (patch) | |
tree | 6fd2de6cc607123138e8c3f10c3850cddc14da49 /src/net/eathena | |
parent | df44755b11b98f313e79c79fb04a5726fa990ff8 (diff) | |
download | mv-fa438213238272cce9a120da849d6c6a7157e107.tar.gz mv-fa438213238272cce9a120da849d6c6a7157e107.tar.bz2 mv-fa438213238272cce9a120da849d6c6a7157e107.tar.xz mv-fa438213238272cce9a120da849d6c6a7157e107.zip |
Rename auction receive handler into auctionrecv.
Diffstat (limited to 'src/net/eathena')
-rw-r--r-- | src/net/eathena/auctionhandler.cpp | 12 | ||||
-rw-r--r-- | src/net/eathena/auctionrecv.cpp (renamed from src/net/eathena/auction.cpp) | 12 | ||||
-rw-r--r-- | src/net/eathena/auctionrecv.h (renamed from src/net/eathena/auction.h) | 2 |
3 files changed, 13 insertions, 13 deletions
diff --git a/src/net/eathena/auctionhandler.cpp b/src/net/eathena/auctionhandler.cpp index 4ee007953..ddce77077 100644 --- a/src/net/eathena/auctionhandler.cpp +++ b/src/net/eathena/auctionhandler.cpp @@ -25,7 +25,7 @@ #include "net/ea/eaprotocol.h" -#include "net/eathena/auction.h" +#include "net/eathena/auctionrecv.h" #include "net/eathena/messageout.h" #include "net/eathena/protocol.h" @@ -57,23 +57,23 @@ void AuctionHandler::handleMessage(Net::MessageIn &msg) switch (msg.getId()) { case SMSG_AUCTION_OPEN_WINDOW: - Auction::processOpenWindow(msg); + AuctionRecv::processOpenWindow(msg); break; case SMSG_AUCTION_RESULTS: - Auction::processAuctionResults(msg); + AuctionRecv::processAuctionResults(msg); break; case SMSG_AUCTION_SET_ITEM: - Auction::processAuctionSetItem(msg); + AuctionRecv::processAuctionSetItem(msg); break; case SMSG_AUCTION_MESSAGE: - Auction::processAuctionMessage(msg); + AuctionRecv::processAuctionMessage(msg); break; case SMSG_AUCTION_CLOSE: - Auction::processAuctionClose(msg); + AuctionRecv::processAuctionClose(msg); break; default: diff --git a/src/net/eathena/auction.cpp b/src/net/eathena/auctionrecv.cpp index 558e822e0..4f1beddec 100644 --- a/src/net/eathena/auction.cpp +++ b/src/net/eathena/auctionrecv.cpp @@ -18,7 +18,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#include "net/eathena/auction.h" +#include "net/eathena/auctionrecv.h" #include "logger.h" @@ -29,13 +29,13 @@ namespace EAthena { -void Auction::processOpenWindow(Net::MessageIn &msg) +void AuctionRecv::processOpenWindow(Net::MessageIn &msg) { UNIMPLIMENTEDPACKET; msg.readInt32("flag"); // 0 - open, 1 - close } -void Auction::processAuctionResults(Net::MessageIn &msg) +void AuctionRecv::processAuctionResults(Net::MessageIn &msg) { UNIMPLIMENTEDPACKET; msg.readInt16("len"); @@ -61,20 +61,20 @@ void Auction::processAuctionResults(Net::MessageIn &msg) } } -void Auction::processAuctionSetItem(Net::MessageIn &msg) +void AuctionRecv::processAuctionSetItem(Net::MessageIn &msg) { UNIMPLIMENTEDPACKET; msg.readInt16("index"); msg.readUInt8("flag"); } -void Auction::processAuctionMessage(Net::MessageIn &msg) +void AuctionRecv::processAuctionMessage(Net::MessageIn &msg) { UNIMPLIMENTEDPACKET; msg.readUInt8("message"); } -void Auction::processAuctionClose(Net::MessageIn &msg) +void AuctionRecv::processAuctionClose(Net::MessageIn &msg) { UNIMPLIMENTEDPACKET; msg.readInt16("flag"); diff --git a/src/net/eathena/auction.h b/src/net/eathena/auctionrecv.h index 675f7423d..583e873b9 100644 --- a/src/net/eathena/auction.h +++ b/src/net/eathena/auctionrecv.h @@ -29,7 +29,7 @@ namespace EAthena { - namespace Auction + namespace AuctionRecv { void processOpenWindow(Net::MessageIn &msg); void processAuctionResults(Net::MessageIn &msg); |