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

Method MEvent

Source/Engine/Scripting/Runtime/DotNet.cpp:1289–1300  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1287}
1288
1289MEvent::MEvent(MClass* parentClass, void* handle, const char* name)
1290 : _handle(handle)
1291 , _addMethod(nullptr)
1292 , _removeMethod(nullptr)
1293 , _parentClass(parentClass)
1294 , _name(parentClass->GetAssembly()->AllocString(name))
1295 , _hasCachedAttributes(false)
1296 , _hasAddMonoMethod(true)
1297 , _hasRemoveMonoMethod(true)
1298 , _attributes(&parentClass->GetAssembly()->Memory)
1299{
1300}
1301
1302MMethod* MEvent::GetAddMethod() const
1303{

Callers

nothing calls this directly

Calls 1

AllocStringMethod · 0.80

Tested by

no test coverage detected