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

Method tryMethod

Il2cppHook/_Ufunc.js:12080–12082  ·  view source on GitHub ↗

Gets the field with the given name.

(name, parameterCount = -1)

Source from the content-addressed store, hash-verified

12078 }
12079 /** Gets the field with the given name. */
12080 tryMethod(name, parameterCount = -1) {
12081 return this.class.tryMethod(name, parameterCount)?.withHolder(this);
12082 }
12083 /** Releases the lock on an object and attempts to block the current thread until it reacquires the lock. */
12084 tryWait(timeout) {
12085 return !!Il2Cpp.Api._monitorTryWait(this, timeout);

Callers

nothing calls this directly

Calls 2

withHolderMethod · 0.45
tryMethodMethod · 0.45

Tested by

no test coverage detected