mirror of
https://github.com/whoahq/whoa.git
synced 2026-03-18 13:41:06 +03:00
chore(net): rename character creation NETMESSAGE enum members
This commit is contained in:
parent
d859670f7b
commit
d77b1dfd67
@ -60,11 +60,11 @@ enum NETMESSAGE {
|
|||||||
CMSG_AUTH_SRP6_BEGIN = 0x0033,
|
CMSG_AUTH_SRP6_BEGIN = 0x0033,
|
||||||
CMSG_AUTH_SRP6_PROOF = 0x0034,
|
CMSG_AUTH_SRP6_PROOF = 0x0034,
|
||||||
CMSG_AUTH_SRP6_RECODE = 0x0035,
|
CMSG_AUTH_SRP6_RECODE = 0x0035,
|
||||||
CMSG_CREATE_CHARACTER = 0x0036,
|
CMSG_CHAR_CREATE = 0x0036,
|
||||||
CMSG_ENUM_CHARACTERS = 0x0037,
|
CMSG_ENUM_CHARACTERS = 0x0037,
|
||||||
CMSG_CHAR_DELETE = 0x0038,
|
CMSG_CHAR_DELETE = 0x0038,
|
||||||
SMSG_AUTH_SRP6_RESPONSE = 0x0039,
|
SMSG_AUTH_SRP6_RESPONSE = 0x0039,
|
||||||
SMSG_CREATE_CHAR = 0x003A,
|
SMSG_CHAR_CREATE = 0x003A,
|
||||||
SMSG_ENUM_CHARACTERS_RESULT = 0x003B,
|
SMSG_ENUM_CHARACTERS_RESULT = 0x003B,
|
||||||
SMSG_DELETE_CHAR = 0x003C,
|
SMSG_DELETE_CHAR = 0x003C,
|
||||||
CMSG_PLAYER_LOGIN = 0x003D,
|
CMSG_PLAYER_LOGIN = 0x003D,
|
||||||
|
|||||||
@ -19,7 +19,7 @@ int32_t RealmConnection::MessageHandler(void* param, NETMESSAGE msgId, uint32_t
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
case SMSG_CREATE_CHAR: {
|
case SMSG_CHAR_CREATE: {
|
||||||
// TODO
|
// TODO
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -91,7 +91,7 @@ RealmConnection::RealmConnection(RealmResponse* realmResponse) {
|
|||||||
this->SetMessageHandler(SMSG_AUTH_RESPONSE, &RealmConnection::MessageHandler, this);
|
this->SetMessageHandler(SMSG_AUTH_RESPONSE, &RealmConnection::MessageHandler, this);
|
||||||
this->SetMessageHandler(SMSG_ADDON_INFO, &RealmConnection::MessageHandler, this);
|
this->SetMessageHandler(SMSG_ADDON_INFO, &RealmConnection::MessageHandler, this);
|
||||||
this->SetMessageHandler(SMSG_ENUM_CHARACTERS_RESULT, &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_CHARACTER_LOGIN_FAILED, &RealmConnection::MessageHandler, this);
|
||||||
this->SetMessageHandler(SMSG_LOGOUT_COMPLETE, &RealmConnection::MessageHandler, this);
|
this->SetMessageHandler(SMSG_LOGOUT_COMPLETE, &RealmConnection::MessageHandler, this);
|
||||||
this->SetMessageHandler(SMSG_LOGOUT_CANCEL_ACK, &RealmConnection::MessageHandler, this);
|
this->SetMessageHandler(SMSG_LOGOUT_CANCEL_ACK, &RealmConnection::MessageHandler, this);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user