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

Method value

Il2cppHook/_Ufunc.js:11405–11409  ·  view source on GitHub ↗

Gets the value of this field.

()

Source from the content-addressed store, hash-verified

11403 }
11404 /** Gets the value of this field. */
11405 get value() {
11406 const handle = Memory.alloc(Process.pointerSize);
11407 Il2Cpp.Api._fieldGetStaticValue(this.handle, handle);
11408 return (0, utils_1.read)(handle, this.type);
11409 }
11410 /** Sets the value of this field. Thread static or literal values cannot be altered yet. */
11411 set value(value) {
11412 if (this.isThreadStatic || this.isLiteral) {

Callers

nothing calls this directly

Calls 3

_fieldGetStaticValueMethod · 0.80
_fieldSetStaticValueMethod · 0.80
allocMethod · 0.45

Tested by

no test coverage detected