polserver/pol-core/pol/textcmd.h
turleypol 7f8b5055b2 no need to strip tilde chars from speech
added small early out test for textcmds
simplified _unicode params
2019-01-16 21:24:41 +01:00

33 lines
524 B
C++

/** @file
*
* @par History
*/
#ifndef __TEXTCMD_H
#define __TEXTCMD_H
#include <cstddef>
#include <string>
#include "../clib/rawtypes.h"
namespace Pol
{
namespace Network
{
class Client;
}
namespace Core
{
class wordicmp : public std::less<std::string>
{
public:
bool operator()( const std::string& lhs, const std::string& rhs ) const;
};
bool process_command( Network::Client* client, const std::string& text,
const std::string& lang = "" );
} // namespace Core
} // namespace Pol
#endif