Codechange: make IConsoleCmdExec use C++ strings internally

This commit is contained in:
Rubidium
2025-04-24 17:43:35 +02:00
committed by rubidium42
parent 28d0e6dfc0
commit f04cf54939
3 changed files with 91 additions and 103 deletions

View File

@@ -46,7 +46,7 @@ inline void IConsolePrint(TextColour colour_code, fmt::format_string<A, Args...>
}
/* Parser */
void IConsoleCmdExec(const std::string &command_string, const uint recurse_count = 0);
void IConsoleCmdExec(std::string_view command_string, const uint recurse_count = 0);
bool IsValidConsoleColour(TextColour c);