diff options
Diffstat (limited to 'src/net')
-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); |