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

Method GetEvent

Source/Engine/Scripting/ManagedCLR/MCore.cpp:223–232  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

221}
222
223MEvent* MClass::GetEvent(const char* name) const
224{
225 GetEvents();
226 for (int32 i = 0; i < _events.Count(); i++)
227 {
228 if (_events[i]->GetName() == name)
229 return _events[i];
230 }
231 return nullptr;
232}
233
234MObject* MClass::CreateInstance() const
235{

Callers

nothing calls this directly

Calls 2

CountMethod · 0.45
GetNameMethod · 0.45

Tested by

no test coverage detected