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

Method tryField

Il2cppHook/_Ufunc.js:12076–12078  ·  view source on GitHub ↗

Gets the field with the given name.

(name)

Source from the content-addressed store, hash-verified

12074 }
12075 /** Gets the field with the given name. */
12076 tryField(name) {
12077 return this.class.tryField(name)?.withHolder(this);
12078 }
12079 /** Gets the field with the given name. */
12080 tryMethod(name, parameterCount = -1) {
12081 return this.class.tryMethod(name, parameterCount)?.withHolder(this);

Callers

nothing calls this directly

Calls 2

withHolderMethod · 0.45
tryFieldMethod · 0.45

Tested by

no test coverage detected