4#include <aegis2d/core/commands.hpp>
42 aegis2d::core::CommandResult
run(std::string_view line);
46 std::function<void()> stop_;
47 aegis2d::core::Commands commands_;
63 [[nodiscard]] std::vector<std::string>
take();
67 [[nodiscard]]
bool ended()
const;
71 std::shared_ptr<Shared> shared_;
The commands of the server's administrator, on the engine's command system.
Definition admin_console.hpp:32
aegis2d::core::CommandResult run(std::string_view line)
Runs a line typed by the administrator.
AdminConsole(ServerNetwork &network, std::function< void()> stop)
Creates the commands.
The two ports the server listens on, and the TCP side of the sessions.
Definition server_network.hpp:81
R-Type game code, built on the Aegis2D engine.
Definition enemy_scripts.hpp:16
Sockets of the R-Type server: the TCP port of the logins and the UDP port of the game.