![]() |
TrinityCore
|
Files | |
| file | CliRunnable.cpp |
| file | CliRunnable.h |
Functions | |
| static void | PrintCliPrefix () |
| void | utf8print (void *, std::string_view str) |
| void | commandFinished (void *, bool) |
| void | CliThread () |
| Thread start | |
Variables | |
| static constexpr char | CLI_PREFIX [] = "TC> " |
| void CliThread | ( | ) |
Thread start
Definition at line 108 of file CliRunnable.cpp.
References CLI_PREFIX, commandFinished(), World::IsStopped(), PrintCliPrefix(), ReadWinConsole(), RemoveCRLF(), sConfigMgr, SHUTDOWN_EXIT_CODE, World::StopNow(), sWorld, and utf8print().
Referenced by main().
| void commandFinished | ( | void * | , |
| bool | |||
| ) |
Definition at line 86 of file CliRunnable.cpp.
References PrintCliPrefix().
Referenced by CliThread().
|
inlinestatic |
Definition at line 38 of file CliRunnable.cpp.
References CLI_PREFIX.
Referenced by CliThread(), and commandFinished().
| void utf8print | ( | void * | , |
| std::string_view | str | ||
| ) |
Definition at line 74 of file CliRunnable.cpp.
References STRING_VIEW_FMT, STRING_VIEW_FMT_ARG, and WriteWinConsole().
Referenced by CliThread().
|
staticconstexpr |
Definition at line 36 of file CliRunnable.cpp.
Referenced by CliThread(), and PrintCliPrefix().