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

Method GetMethods

Source/Engine/Scripting/BinaryModule.cpp:1203–1211  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1201}
1202
1203void ManagedBinaryModule::GetMethods(const ScriptingTypeHandle& typeHandle, Array<void*>& methods)
1204{
1205 const ScriptingType& type = typeHandle.GetType();
1206 if (type.ManagedClass)
1207 {
1208 const auto& mMethods = type.ManagedClass->GetMethods();
1209 methods.Add((void* const*)mMethods.Get(), mMethods.Count());
1210 }
1211}
1212
1213void* ManagedBinaryModule::FindMethod(const ScriptingTypeHandle& typeHandle, const StringAnsiView& name, int32 numParams)
1214{

Callers 7

TestLibraryImportsMethod · 0.45
GetClassMethodsMethod · 0.45
InvokeClearMethod · 0.45
FindMethodFunction · 0.45
OnLoadedMethod · 0.45
FindDebugCommandsFunction · 0.45

Calls 4

GetTypeMethod · 0.45
AddMethod · 0.45
GetMethod · 0.45
CountMethod · 0.45

Tested by 1

TestLibraryImportsMethod · 0.36