summaryrefslogtreecommitdiffstats
path: root/source/cWindow.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-08-19 23:14:45 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-08-19 23:14:45 +0200
commit674fe1e955f729e8328772313c45fe76857ec835 (patch)
tree49511bc948f76825ee1ad6be310034f261b35e90 /source/cWindow.h
parentAlmost all packets' handling is now rewritten not to use cPacket descendants elsewhere than in cClientHandle. (diff)
downloadcuberite-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 'source/cWindow.h')
-rw-r--r--source/cWindow.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/cWindow.h b/source/cWindow.h
index 37ac5239d..36fc60f62 100644
--- a/source/cWindow.h
+++ b/source/cWindow.h
@@ -14,7 +14,6 @@ class cPlayer;
class cItem;
class cWindowOwner;
class cClientHandle;
-class cPacket; // TODO: remove this
typedef std::list<cPlayer *> cPlayerList;
@@ -76,7 +75,7 @@ public:
void SendWholeWindow(cClientHandle * a_Client);
void BroadcastWholeWindow(void);
- void Broadcast(const cPacket & a_Packet);
+ void BroadcastInventoryProgress(short a_Progressbar, short a_Value);
const AString & GetWindowTitle() const { return m_WindowTitle; }
void SetWindowTitle( const std::string & a_WindowTitle ) { m_WindowTitle = a_WindowTitle; }