diff --git a/src/net/Types.hpp b/src/net/Types.hpp index 3515db6..7db2ddb 100644 --- a/src/net/Types.hpp +++ b/src/net/Types.hpp @@ -60,11 +60,11 @@ enum NETMESSAGE { CMSG_AUTH_SRP6_BEGIN = 0x0033, CMSG_AUTH_SRP6_PROOF = 0x0034, CMSG_AUTH_SRP6_RECODE = 0x0035, - CMSG_CREATE_CHARACTER = 0x0036, + CMSG_CHAR_CREATE = 0x0036, CMSG_ENUM_CHARACTERS = 0x0037, CMSG_CHAR_DELETE = 0x0038, SMSG_AUTH_SRP6_RESPONSE = 0x0039, - SMSG_CREATE_CHAR = 0x003A, + SMSG_CHAR_CREATE = 0x003A, SMSG_ENUM_CHARACTERS_RESULT = 0x003B, SMSG_DELETE_CHAR = 0x003C, CMSG_PLAYER_LOGIN = 0x003D, diff --git a/src/net/connection/RealmConnection.cpp b/src/net/connection/RealmConnection.cpp index a60549e..9bc0a6a 100644 --- a/src/net/connection/RealmConnection.cpp +++ b/src/net/connection/RealmConnection.cpp @@ -19,7 +19,7 @@ int32_t RealmConnection::MessageHandler(void* param, NETMESSAGE msgId, uint32_t break; } - case SMSG_CREATE_CHAR: { + case SMSG_CHAR_CREATE: { // TODO break; } @@ -91,7 +91,7 @@ RealmConnection::RealmConnection(RealmResponse* realmResponse) { this->SetMessageHandler(SMSG_AUTH_RESPONSE, &RealmConnection::MessageHandler, this); this->SetMessageHandler(SMSG_ADDON_INFO, &RealmConnection::MessageHandler, this); this->SetMessageHandler(SMSG_ENUM_CHARACTERS_RESULT, &RealmConnection::MessageHandler, this); - this->SetMessageHandler(SMSG_CREATE_CHAR, &RealmConnection::MessageHandler, this); + this->SetMessageHandler(SMSG_CHAR_CREATE, &RealmConnection::MessageHandler, this); this->SetMessageHandler(SMSG_CHARACTER_LOGIN_FAILED, &RealmConnection::MessageHandler, this); this->SetMessageHandler(SMSG_LOGOUT_COMPLETE, &RealmConnection::MessageHandler, this); this->SetMessageHandler(SMSG_LOGOUT_CANCEL_ACK, &RealmConnection::MessageHandler, this);