1
0

Plugin messages are received and handed to plugins.

Note that MCS doesn't currently handle any channel registrations, this will come later on.
This commit is contained in:
madmaxoft
2014-01-07 17:47:05 +01:00
parent a87daa969e
commit e353f29d4a
9 changed files with 80 additions and 25 deletions

View File

@@ -543,6 +543,15 @@ void cClientHandle::HandlePlayerPos(double a_PosX, double a_PosY, double a_PosZ,
void cClientHandle::HandlePluginMessage(const AString & a_Channel, const AString & a_Message)
{
cPluginManager::Get()->CallHookPluginMessage(*this, a_Channel, a_Message);
}
void cClientHandle::HandleLeftClick(int a_BlockX, int a_BlockY, int a_BlockZ, char a_BlockFace, char a_Status)
{
LOGD("HandleLeftClick: {%i, %i, %i}; Face: %i; Stat: %i",