MCPcopy Create free account
hub / github.com/axhlzy/Il2CppHookScripts / genericParameterCount

Method genericParameterCount

Il2cppHook/_Ufunc.js:10998–11003  ·  view source on GitHub ↗

Gets the amount of generic parameters of this generic class.

()

Source from the content-addressed store, hash-verified

10996 }
10997 /** Gets the amount of generic parameters of this generic class. */
10998 get genericParameterCount() {
10999 if (!this.isGeneric) {
11000 return 0;
11001 }
11002 return this.type.object.method("GetGenericArguments").invoke().length;
11003 }
11004 /** Determines whether the GC has tracking references to the current class instances. */
11005 get hasReferences() {
11006 return !!Il2Cpp.Api._classHasReferences(this);

Callers

nothing calls this directly

Calls 2

invokeMethod · 0.45
methodMethod · 0.45

Tested by

no test coverage detected