summaryrefslogtreecommitdiffstats
path: root/source/ClientHandle.h
diff options
context:
space:
mode:
authorfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-09-29 22:43:42 +0200
committerfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-09-29 22:43:42 +0200
commit17486c785331e809f5294fee40367b1590e0d36b (patch)
tree3104a260f3eac320a190af73a3dced00cb77bcfe /source/ClientHandle.h
parentFixed memory leaks in cWindow and cProtocolRecognizer (diff)
downloadcuberite-17486c785331e809f5294fee40367b1590e0d36b.tar
cuberite-17486c785331e809f5294fee40367b1590e0d36b.tar.gz
cuberite-17486c785331e809f5294fee40367b1590e0d36b.tar.bz2
cuberite-17486c785331e809f5294fee40367b1590e0d36b.tar.lz
cuberite-17486c785331e809f5294fee40367b1590e0d36b.tar.xz
cuberite-17486c785331e809f5294fee40367b1590e0d36b.tar.zst
cuberite-17486c785331e809f5294fee40367b1590e0d36b.zip
Diffstat (limited to 'source/ClientHandle.h')
-rw-r--r--source/ClientHandle.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/ClientHandle.h b/source/ClientHandle.h
index e5625eb20..94f132ea0 100644
--- a/source/ClientHandle.h
+++ b/source/ClientHandle.h
@@ -117,6 +117,7 @@ public:
void SendWholeInventory (const cWindow & a_Window);
void SendWindowClose (char a_WindowID);
void SendWindowOpen (char a_WindowID, char a_WindowType, const AString & a_WindowTitle, char a_NumSlots);
+ void SendUseBed (const cEntity & a_Entity, int a_BlockX, int a_BlockY, int a_BlockZ );
const AString & GetUsername(void) const; //tolua_export
@@ -161,6 +162,7 @@ public:
void HandleDisconnect (const AString & a_Reason);
void HandleKeepAlive (int a_KeepAliveID);
bool HandleHandshake (const AString & a_Username);
+ void HandleEntityAction (int a_EntityID, char a_ActionID);
/** Called when the protocol has finished logging the user in.
Return true to allow the user in; false to kick them.