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

Method fieldInstance

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

Source from the content-addressed store, hash-verified

2152 }
2153 }
2154 fieldInstance(fieldName) {
2155 if (this.mPtr.isNull())
2156 throw new Error("fieldInstance : Instance is null");
2157 return this.mClass.field(fieldName);
2158 }
2159 fieldValue(fieldName) {
2160 let field = this.fieldInstance(fieldName);
2161 if (field.isStatic)

Callers 3

fieldValueMethod · 0.95
fieldOffsetMethod · 0.95
_Ufunc.jsFile · 0.45

Calls 2

isNullMethod · 0.80
fieldMethod · 0.45

Tested by

no test coverage detected