diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-03-05 17:41:57 +0100 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-03-05 17:41:57 +0100 |
commit | 4d65ffffc0b6f35ac84e310fd4bc9739ea7e0c0a (patch) | |
tree | ccc5f55d8f7a15f08bab8f0222fd1b2f95e5d7a2 /source/cClientHandle.h | |
parent | Removed redstone debugging: powered dirt blocks change into stone (diff) | |
download | cuberite-4d65ffffc0b6f35ac84e310fd4bc9739ea7e0c0a.tar cuberite-4d65ffffc0b6f35ac84e310fd4bc9739ea7e0c0a.tar.gz cuberite-4d65ffffc0b6f35ac84e310fd4bc9739ea7e0c0a.tar.bz2 cuberite-4d65ffffc0b6f35ac84e310fd4bc9739ea7e0c0a.tar.lz cuberite-4d65ffffc0b6f35ac84e310fd4bc9739ea7e0c0a.tar.xz cuberite-4d65ffffc0b6f35ac84e310fd4bc9739ea7e0c0a.tar.zst cuberite-4d65ffffc0b6f35ac84e310fd4bc9739ea7e0c0a.zip |
Diffstat (limited to 'source/cClientHandle.h')
-rw-r--r-- | source/cClientHandle.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/cClientHandle.h b/source/cClientHandle.h index 3fcfef716..6ac6e07b8 100644 --- a/source/cClientHandle.h +++ b/source/cClientHandle.h @@ -94,6 +94,8 @@ public: bool IsDestroyed() { return m_bDestroyed; }
void Destroy();
+
+ bool IsPlaying(void) const {return (m_State == csPlaying); }
void Send(const cPacket & a_Packet, ENUM_PRIORITY a_Priority = E_PRIORITY_NORMAL) { Send(&a_Packet, a_Priority); }
void Send(const cPacket * a_Packet, ENUM_PRIORITY a_Priority = E_PRIORITY_NORMAL);
|