Mineserver
A rewrite of Minecraft 1.8.9 in C++ !
|
Sender Interface. More...
#include <commands.h>
Public Types | |
enum | SenderType { CONSOLE = 0 , PLAYER , COMMAND_BLOCK } |
Sender type. More... | |
Public Member Functions | |
virtual void | sendMessage (const ChatMessage &message)=0 |
Sends a message to the sender. | |
Static Public Member Functions | |
static void | loadLua (lua_State *state, const char *namespaceName) |
Register Lua things. | |
Sender Interface.
Interface for all command-sending capable things (Players, command blocks console).
Sender type.
Type of the sender, for casting utilities.
Register Lua things.
state | state to register to |
namespaceName | namespace name |
|
pure virtual |
Sends a message to the sender.
Implemented in ConsoleManager, and Player.