diff options
Diffstat (limited to 'src/game/WorldSocket.h')
-rw-r--r-- | src/game/WorldSocket.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game/WorldSocket.h b/src/game/WorldSocket.h index 94f57d8d636..9b012ee23d3 100644 --- a/src/game/WorldSocket.h +++ b/src/game/WorldSocket.h @@ -175,6 +175,10 @@ class WorldSocket : protected WorldHandler /// Need to be called with m_OutBufferLock lock held int iSendPacket (const WorldPacket& pct); + /// Try to write WorldPacket to m_OutBuffer even partially, + /// Need to be called with m_OutBufferLock lock held + int iSendPartialPacket(WorldPacket& pct); + /// Flush m_PacketQueue if there are packets in it /// Need to be called with m_OutBufferLock lock held /// @return true if it wrote to the buffer ( AKA you need |