summaryrefslogtreecommitdiffstats
path: root/source/packets/cPacket_PlayerListItem.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-03-24 14:28:53 +0100
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-03-24 14:28:53 +0100
commit57834374363965198f8870c9f11111d7c8a12d7f (patch)
tree1b45896954eba5c15ad7d4b8bb790322a1c21fc1 /source/packets/cPacket_PlayerListItem.h
parentProtocol version bumped up to 29 (MC 1.2.4), seems to work. (diff)
downloadcuberite-57834374363965198f8870c9f11111d7c8a12d7f.tar
cuberite-57834374363965198f8870c9f11111d7c8a12d7f.tar.gz
cuberite-57834374363965198f8870c9f11111d7c8a12d7f.tar.bz2
cuberite-57834374363965198f8870c9f11111d7c8a12d7f.tar.lz
cuberite-57834374363965198f8870c9f11111d7c8a12d7f.tar.xz
cuberite-57834374363965198f8870c9f11111d7c8a12d7f.tar.zst
cuberite-57834374363965198f8870c9f11111d7c8a12d7f.zip
Diffstat (limited to 'source/packets/cPacket_PlayerListItem.h')
-rw-r--r--source/packets/cPacket_PlayerListItem.h30
1 files changed, 0 insertions, 30 deletions
diff --git a/source/packets/cPacket_PlayerListItem.h b/source/packets/cPacket_PlayerListItem.h
deleted file mode 100644
index 45395c556..000000000
--- a/source/packets/cPacket_PlayerListItem.h
+++ /dev/null
@@ -1,30 +0,0 @@
-
-#pragma once
-
-#include "cPacket.h"
-
-
-
-
-
-class cPacket_PlayerListItem : public cPacket
-{
-public:
- cPacket_PlayerListItem() { m_PacketID = E_PLAYER_LIST_ITEM; }
- cPacket_PlayerListItem(const AString & a_PlayerName, bool a_Online, short a_Ping);
-
- virtual int Parse(const char * a_Data, int a_Size) override;
- virtual void Serialize(AString & a_Data) const override;
-
- virtual cPacket* Clone() const { return new cPacket_PlayerListItem(*this); }
-
- AString m_PlayerName; // Supports chat coloring, limited to 16 characters.
- bool m_Online;
- short m_Ping;
-
- static const unsigned int c_Size = 6; // Minimal size ( 6 + string )
-};
-
-
-
-