mirror of
https://github.com/edubart/otclient.git
synced 2025-12-24 16:57:11 +01:00
textmessage
This commit is contained in:
@@ -97,9 +97,9 @@ void Game::processLogout()
|
||||
}
|
||||
}
|
||||
|
||||
void Game::processTextMessage(const std::string& message)
|
||||
void Game::processTextMessage(int type, const std::string& message)
|
||||
{
|
||||
g_lua.callGlobalField("Game","onTextMessage", message);
|
||||
g_lua.callGlobalField("Game","onTextMessage", type, message);
|
||||
}
|
||||
|
||||
void Game::walk(Otc::Direction direction)
|
||||
|
||||
Reference in New Issue
Block a user