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

Method TypeExists

Source/Scripting/angelscript/ascontext.cpp:767–769  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

765}
766
767bool ASContext::TypeExists(const std::string &decl) {
768 return engine->GetTypeIdByDecl(decl.c_str()) >= 0;
769}
770
771void ASContext::DocsCloseBrace() {
772 documentation += "};\n";

Callers 3

RegisterScriptTypeMethod · 0.80
AttachScenegraphFunction · 0.80

Calls 2

GetTypeIdByDeclMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected