Address review feedback on protocol types
This commit is contained in:
1 parent
bcc765f3e7
commit
883e98bde0
11 files changed
+73
-86
No files matched your search
@@ -38,7 +38,7 @@ PlayerInfoPacket::PlayerInfoPacket(std::shared_ptr<ServerPlayer> player)
|
||||
|
||||
void PlayerInfoPacket::read(DataInputStream *dis)
|
||||
{
|
||||
m_networkSmallId = static_cast<std::uint8_t>(dis->readByte());
|
||||
m_networkSmallId = dis->readByte();
|
||||
m_playerColourIndex = dis->readShort();
|
||||
m_playerPrivileges = dis->readInt();
|
||||
m_entityId = dis->readInt();
|
||||
|
||||
Reference in new issue
Block a user