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

Method fieldOffset

Il2cppHook/_Ufunc.js:2165–2167  ·  view source on GitHub ↗
(fieldName)

Source from the content-addressed store, hash-verified

2163 return this.mPtr.add(this.fieldOffset(fieldName)).readPointer();
2164 }
2165 fieldOffset(fieldName) {
2166 return this.fieldInstance(fieldName).offset;
2167 }
2168 toShow(retB = false) {
2169 newLine();
2170 let titile = `Found ${this.mClass.fields.length} fields in class: ${this.mClass.name} (${this.mClass.handle})`;

Callers 2

fieldValueMethod · 0.95
_Ufunc.jsFile · 0.45

Calls 1

fieldInstanceMethod · 0.95

Tested by

no test coverage detected