MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / IsTypeFromGameScripts

Method IsTypeFromGameScripts

Source/Engine/Scripting/Scripting.cpp:1084–1088  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1082}
1083
1084bool Scripting::IsTypeFromGameScripts(const MClass* type)
1085{
1086 const auto binaryModule = ManagedBinaryModule::GetModule(type ? type->GetAssembly() : nullptr);
1087 return binaryModule && binaryModule != GetBinaryModuleCorlib() && binaryModule != GetBinaryModuleFlaxEngine();
1088}
1089
1090void Scripting::RegisterObject(ScriptingObject* obj)
1091{

Callers 4

OnScriptsReloadBeginMethod · 0.45
OnScriptsReloadBeginMethod · 0.45
GetArchetypeMethod · 0.45
OnAssetLoadedMethod · 0.45

Calls 1

GetBinaryModuleCorlibFunction · 0.85

Tested by

no test coverage detected