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

Function FindScriptingType

Source/Engine/Scripting/BinaryModule.h:118–121  ·  view source on GitHub ↗

Tries to find a given scripting type by the full name. The full name of the type eg: System.Int64.MaxInt. The result type index in Types array of this module. Valid only if method returns true. True if found a type, otherwise false.

Source from the content-addressed store, hash-verified

116 /// <param name="typeIndex">The result type index in Types array of this module. Valid only if method returns true.</param>
117 /// <returns>True if found a type, otherwise false.</returns>
118 virtual bool FindScriptingType(const StringAnsiView& typeName, int32& typeIndex)
119 {
120 return TypeNameToTypeIndex.TryGet(typeName, typeIndex);
121 }
122
123 /// <summary>
124 /// Gets handles of all method in a given scripting type.

Callers 15

StartPeerFunction · 0.85
ResolveObjectFunction · 0.85
InvokeObjectSpawnFunction · 0.85
TestScripting.cppFile · 0.85
AccessVariantFunction · 0.85
HasGoalMethod · 0.85
RemoveGoalMethod · 0.85
IsAssignableFromFunction · 0.85
onNodeLoadedMethod · 0.85
LoadAsyncInternalMethod · 0.85

Calls 1

TryGetMethod · 0.45

Tested by

no test coverage detected