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

Function ASModIsCore

Source/Scripting/angelscript/asfuncs.cpp:6769–6776  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6767}
6768
6769static bool ASModIsCore(ModID& sid) {
6770 ModInstance* mod = ModLoading::Instance().GetMod(sid);
6771 if (mod) {
6772 return mod->IsCore();
6773 } else {
6774 return false;
6775 }
6776}
6777
6778static bool ASModCanActivate(ModID& sid) {
6779 ModInstance* mod = ModLoading::Instance().GetMod(sid);

Callers

nothing calls this directly

Calls 2

GetModMethod · 0.80
IsCoreMethod · 0.80

Tested by

no test coverage detected