MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / ASGetModValidityString

Function ASGetModValidityString

Source/Scripting/angelscript/asfuncs.cpp:6895–6902  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6893}
6894
6895static std::string ASGetModValidityString(ModID& sid) {
6896 ModInstance* mod = ModLoading::Instance().GetMod(sid);
6897 if (mod) {
6898 return mod->GetValidityErrors();
6899 } else {
6900 return "";
6901 }
6902}
6903
6904static std::string ASGetModThumbnail(ModID& sid) {
6905 ModInstance* mod = ModLoading::Instance().GetMod(sid);

Callers

nothing calls this directly

Calls 2

GetModMethod · 0.80
GetValidityErrorsMethod · 0.80

Tested by

no test coverage detected