summaryrefslogtreecommitdiff
path: root/src/net/eathena
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena')
-rw-r--r--src/net/eathena/adminhandler.cpp12
-rw-r--r--src/net/eathena/adminrecv.cpp (renamed from src/net/eathena/admin.cpp)8
-rw-r--r--src/net/eathena/adminrecv.h (renamed from src/net/eathena/admin.h)2
3 files changed, 11 insertions, 11 deletions
diff --git a/src/net/eathena/adminhandler.cpp b/src/net/eathena/adminhandler.cpp
index e44d66c60..6a938a478 100644
--- a/src/net/eathena/adminhandler.cpp
+++ b/src/net/eathena/adminhandler.cpp
@@ -26,9 +26,9 @@
#include "being/being.h"
-#include "net/ea/admin.h"
+#include "net/ea/adminrecv.h"
-#include "net/eathena/admin.h"
+#include "net/eathena/adminrecv.h"
#include "net/eathena/messageout.h"
#include "net/eathena/protocol.h"
@@ -62,16 +62,16 @@ void AdminHandler::handleMessage(Net::MessageIn &msg)
switch (msg.getId())
{
case SMSG_ADMIN_KICK_ACK:
- Ea::Admin::processKickAck(msg);
+ Ea::AdminRecv::processKickAck(msg);
break;
case SMSG_ADMIN_GET_LOGIN_ACK:
- Admin::processAdminGetLoginAck(msg);
+ AdminRecv::processAdminGetLoginAck(msg);
break;
case SMSG_ADMIN_SET_TILE_TYPE:
- Admin::processSetTileType(msg);
+ AdminRecv::processSetTileType(msg);
break;
case SMSG_ADMIN_ACCOUNT_STATS:
- Admin::processAccountStats(msg);
+ AdminRecv::processAccountStats(msg);
break;
default:
break;
diff --git a/src/net/eathena/admin.cpp b/src/net/eathena/adminrecv.cpp
index 1a8fdd7c3..e88843c79 100644
--- a/src/net/eathena/admin.cpp
+++ b/src/net/eathena/adminrecv.cpp
@@ -18,7 +18,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include "net/eathena/admin.h"
+#include "net/eathena/adminrecv.h"
#include "logger.h"
@@ -32,14 +32,14 @@
namespace EAthena
{
-void Admin::processAdminGetLoginAck(Net::MessageIn &msg)
+void AdminRecv::processAdminGetLoginAck(Net::MessageIn &msg)
{
UNIMPLIMENTEDPACKET;
msg.readBeingId("account id");
msg.readString(24, "login");
}
-void Admin::processSetTileType(Net::MessageIn &msg)
+void AdminRecv::processSetTileType(Net::MessageIn &msg)
{
UNIMPLIMENTEDPACKET;
// +++ here need set collision tile for map
@@ -49,7 +49,7 @@ void Admin::processSetTileType(Net::MessageIn &msg)
msg.readString(16, "map name");
}
-void Admin::processAccountStats(Net::MessageIn &msg)
+void AdminRecv::processAccountStats(Net::MessageIn &msg)
{
UNIMPLIMENTEDPACKET;
// +++ need show in other players stats window, nick in mStatsName
diff --git a/src/net/eathena/admin.h b/src/net/eathena/adminrecv.h
index 85fc8e546..5be80e996 100644
--- a/src/net/eathena/admin.h
+++ b/src/net/eathena/adminrecv.h
@@ -25,7 +25,7 @@
namespace EAthena
{
- namespace Admin
+ namespace AdminRecv
{
void processAdminGetLoginAck(Net::MessageIn &msg);
void processSetTileType(Net::MessageIn &msg);