diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-08-19 23:14:45 +0200 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-08-19 23:14:45 +0200 |
commit | 674fe1e955f729e8328772313c45fe76857ec835 (patch) | |
tree | 49511bc948f76825ee1ad6be310034f261b35e90 /source/packets/cPacket_InventoryProgressBar.h | |
parent | Almost all packets' handling is now rewritten not to use cPacket descendants elsewhere than in cClientHandle. (diff) | |
download | cuberite-674fe1e955f729e8328772313c45fe76857ec835.tar cuberite-674fe1e955f729e8328772313c45fe76857ec835.tar.gz cuberite-674fe1e955f729e8328772313c45fe76857ec835.tar.bz2 cuberite-674fe1e955f729e8328772313c45fe76857ec835.tar.lz cuberite-674fe1e955f729e8328772313c45fe76857ec835.tar.xz cuberite-674fe1e955f729e8328772313c45fe76857ec835.tar.zst cuberite-674fe1e955f729e8328772313c45fe76857ec835.zip |
Diffstat (limited to '')
-rw-r--r-- | source/packets/cPacket_InventoryProgressBar.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/source/packets/cPacket_InventoryProgressBar.h b/source/packets/cPacket_InventoryProgressBar.h index 0aa2fd3a8..b78205efa 100644 --- a/source/packets/cPacket_InventoryProgressBar.h +++ b/source/packets/cPacket_InventoryProgressBar.h @@ -14,16 +14,17 @@ public: : m_WindowID( 0 ) , m_ProgressBar( 0 ) , m_Value( 0 ) - { m_PacketID = E_INVENTORY_PROGRESS; } - virtual cPacket* Clone() const { return new cPacket_InventoryProgressBar(*this); } + { + m_PacketID = E_INVENTORY_PROGRESS; + } + + virtual cPacket * Clone() const { return new cPacket_InventoryProgressBar(*this); } virtual void Serialize(AString & a_Data) const override; - char m_WindowID; + char m_WindowID; short m_ProgressBar; short m_Value; - - static const unsigned int c_Size = 1 + 1 + 2 + 2; }; |