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

Method HasAttribute

Source/Engine/Scripting/Runtime/Mono.cpp:1539–1543  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1537}
1538
1539bool MClass::HasAttribute(const MClass* klass) const
1540{
1541 MonoCustomAttrInfo* attrInfo = GET_CUSTOM_ATTR();
1542 return attrInfo != nullptr && mono_custom_attrs_has_attr(attrInfo, klass->GetNative()) != 0;
1543}
1544
1545bool MClass::HasAttribute() const
1546{

Callers 3

ScriptMethod · 0.45
OnLoadedMethod · 0.45
FindDebugCommandsFunction · 0.45

Calls 1

GetNativeMethod · 0.80

Tested by

no test coverage detected