refactor: nuke all widestrings and widechars everywhere

This commit is contained in:
Tropical
2026-04-07 23:20:09 -05:00
parent f1f1d116b3
commit 2912e9ae2e
1323 changed files with 23207 additions and 23399 deletions

View File

@@ -14,8 +14,8 @@ EGameCommand EffectCommand::getId() { return eGameCommand_Effect; }
int EffectCommand::getPermissionLevel() { return LEVEL_GAMEMASTERS; }
std::wstring EffectCommand::getUsage(CommandSender* source) {
return L"commands.effect.usage";
std::string EffectCommand::getUsage(CommandSender* source) {
return "commands.effect.usage";
}
void EffectCommand::execute(std::shared_ptr<CommandSender> source,
@@ -86,11 +86,11 @@ void EffectCommand::execute(std::shared_ptr<CommandSender> source,
// throw new UsageException("commands.effect.usage");
}
std::wstring EffectCommand::getPlayerNames() {
return L""; // MinecraftServer::getInstance()->getPlayerNames();
std::string EffectCommand::getPlayerNames() {
return ""; // MinecraftServer::getInstance()->getPlayerNames();
}
bool EffectCommand::isValidWildcardPlayerArgument(std::wstring args,
bool EffectCommand::isValidWildcardPlayerArgument(std::string args,
int argumentIndex) {
return argumentIndex == 0;
}