summaryrefslogtreecommitdiffstats
path: root/src/ClientHandle.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ClientHandle.h')
-rw-r--r--src/ClientHandle.h25
1 files changed, 10 insertions, 15 deletions
diff --git a/src/ClientHandle.h b/src/ClientHandle.h
index c49de647f..73e2105d4 100644
--- a/src/ClientHandle.h
+++ b/src/ClientHandle.h
@@ -331,7 +331,6 @@ public: // tolua_export
void HandlePlayerPos(double a_PosX, double a_PosY, double a_PosZ, double a_Stance, bool a_IsOnGround);
- void HandlePluginMessage (const AString & a_Channel, const AString & a_Message);
void HandleRespawn (void);
void HandleRightClick (int a_BlockX, int a_BlockY, int a_BlockZ, eBlockFace a_BlockFace, int a_CursorX, int a_CursorY, int a_CursorZ, const cItem & a_HeldItem);
void HandleSlotSelected (Int16 a_SlotNum);
@@ -368,6 +367,16 @@ public: // tolua_export
bool IsPlayerChunkSent();
+ void RegisterChannel(const AString & a_Channel);
+
+ void UnregisterChannel(const AString & a_Channel);
+
+ /** Adds all of the channels to the list of current plugin channels. Handles duplicates gracefully. */
+ void RegisterChannels(const AStringVector & a_ChannelList);
+
+ /** Removes all of the channels from the list of current plugin channels. Ignores channels that are not found. */
+ void UnregisterChannels(const AStringVector & a_ChannelList);
+
private:
friend class cServer; // Needs access to SetSelf()
@@ -528,15 +537,6 @@ private:
/** The clients will receive a finished dig animation */
void FinishDigAnimation();
- /** Converts the protocol-formatted channel list (NUL-separated) into a proper string vector. */
- AStringVector BreakApartPluginChannels(const AString & a_PluginChannels);
-
- /** Adds all of the channels to the list of current plugin channels. Handles duplicates gracefully. */
- void RegisterPluginChannels(const AStringVector & a_ChannelList);
-
- /** Removes all of the channels from the list of current plugin channels. Ignores channels that are not found. */
- void UnregisterPluginChannels(const AStringVector & a_ChannelList);
-
/** Called when the network socket has been closed. */
void SocketClosed(void);
@@ -549,8 +549,3 @@ private:
virtual void OnRemoteClosed(void) override;
virtual void OnError(int a_ErrorCode, const AString & a_ErrorMsg) override;
}; // tolua_export
-
-
-
-
-