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

Function FindMethod

Source/Engine/Scripting/BinaryModule.h:140–143  ·  view source on GitHub ↗

Tries to find a method in a given scripting type by the method name and parameters count. If the type contains more than one method of the given name and parameters count the returned value can be non-deterministic (one of the matching methods). The type to find method inside it. The method name. <p

Source from the content-addressed store, hash-verified

138 /// <param name="numParams">The method parameters count.</param>
139 /// <returns>The method or null if failed to get it.</returns>
140 virtual void* FindMethod(const ScriptingTypeHandle& typeHandle, const StringAnsiView& name, int32 numParams = 0)
141 {
142 return nullptr;
143 }
144
145 /// <summary>
146 /// Tries to find a method in a given scripting type by the method signature.

Callers 2

ProcessGroupFunctionMethod · 0.50
CacheScriptingTypeMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected