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

Method set

Il2cppHook/_Ufunc.js:10868–10873  ·  view source on GitHub ↗

Sets the element at the specified index of the current array.

(index, value)

Source from the content-addressed store, hash-verified

10866 }
10867 /** Sets the element at the specified index of the current array. */
10868 set(index, value) {
10869 if (index < 0 || index >= this.length) {
10870 (0, console_1.raise)(`cannot get element at index ${index}: array length is ${this.length}`);
10871 }
10872 this.elements.set(index, value);
10873 }
10874 /** */
10875 toString() {
10876 return this.isNull() ? "null" : `[${this.elements.read(this.length, 0)}]`;

Callers 15

getMapImagesMethod · 0.45
showClassesMethod · 0.45
innerCallMethod · 0.45
findMethodSyncMethod · 0.45
_Ufunc.jsFile · 0.45
attachMethodInfoMethod · 0.45
BreakerClass · 0.45
SET_AFunction · 0.45
SET_FFunction · 0.45
SET_F_AFunction · 0.45
SET_GFunction · 0.45
SET_MAPFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected