forked from mirrors/kolyah35-minecraft-pe-0.6.1
change proto ver
This commit is contained in:
parent
cbd81b47ce
commit
2c1b5e256e
2 changed files with 5 additions and 3 deletions
|
|
@ -16,8 +16,9 @@ namespace SharedConstants
|
||||||
{
|
{
|
||||||
// 0.5.0 uses NPv8
|
// 0.5.0 uses NPv8
|
||||||
// 0.6.0 uses NPv9
|
// 0.6.0 uses NPv9
|
||||||
const int NetworkProtocolVersion = 9;
|
// TODO: Better proto check
|
||||||
const int NetworkProtocolLowestSupportedVersion = 9;
|
const int NetworkProtocolVersion = 10;
|
||||||
|
const int NetworkProtocolLowestSupportedVersion = 10;
|
||||||
const int GameProtocolVersion = 1;
|
const int GameProtocolVersion = 1;
|
||||||
const int GameProtocolLowestSupportedVersion = 1;
|
const int GameProtocolLowestSupportedVersion = 1;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -180,6 +180,7 @@ void ServerSideNetworkHandler::handle(const RakNet::RakNetGUID& source, LoginPac
|
||||||
|
|
||||||
LOGI("LoginPacket\n");
|
LOGI("LoginPacket\n");
|
||||||
|
|
||||||
|
printf("%d", packet->clientNetworkVersion);
|
||||||
int loginStatus = LoginStatus::Success;
|
int loginStatus = LoginStatus::Success;
|
||||||
//
|
//
|
||||||
// Bad/incompatible client version
|
// Bad/incompatible client version
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue