14#include <unordered_map>
65 void ReplyToPlayer(
int slot,
const std::string&
line);
70 std::unique_ptr<EngineArgBinder> _binder;
71 std::unique_ptr<CommandRouter> _router;
73 std::unordered_map<std::string, ServerCommand> _consoleCommands;
Fluent command registration, returned by CommandManager::Add.
Typed commands for chat and the server console.
CommandManager & operator=(const CommandManager &)=delete
bool HandleChatMessage(Player *caller, std::string_view message)
CommandBuilder Add(std::string_view name)
CommandManager(const CommandManager &)=delete
bool IsForeign(std::string_view message) const
runtime.Entities: finds and creates entities. Everything it returns is valid for this frame only; see...
Send chat, center print, center HTML, and alert messages.
The roster: every connected player, and the signals for the connection lifecycle.
One connected player, owned by PlayerManager for the length of the connection.
The one permission and targeting gate, plus the plugin's reply callback.
Localization system. Loads one JSON file per language; nested objects flatten into dotted keys (categ...
static std::string ReadFile(const std::filesystem::path &path)
One command as the builder assembled it.