Add more info about Debug Command help

This commit is contained in:
2026-09-23 12:34:03 +02:00
parent b6d93bcdff
commit a04fa0b8ed
2 changed files with 55 additions and 5 deletions
+2 -2
View File
@@ -54,9 +54,9 @@ struct CommandData
}
// Use Xml docs reader used by Editor to get tooltips
auto getXmlInternal = DebugCommands::TypeInitializer.GetClass()->GetMethod("GetXmlInternal", 2);
auto internal = DebugCommands::TypeInitializer.GetClass()->GetMethod("GetDebugHelpInternal", 2);
void* params[2] = { mclass->GetType(), MUtils::ToString(name) };
Help = MUtils::ToString((MString*)getXmlInternal->Invoke(nullptr, params, nullptr));
Help = MUtils::ToString((MString*)internal->Invoke(nullptr, params, nullptr));
}
}
return Help;