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

Method foreach

Il2cppHook/_Ufunc.js:1918–1921  ·  view source on GitHub ↗
(callback)

Source from the content-addressed store, hash-verified

1916 return this._items.add(p_size * (4 + index)).readPointer();
1917 }
1918 foreach(callback) {
1919 for (let i = 0; i < this._size; i++)
1920 callback(this.getItem(i));
1921 }
1922 toArray() {
1923 const arr = [];
1924 this.foreach(item => arr.push(item));

Callers 1

toArrayMethod · 0.95

Calls 1

getItemMethod · 0.95

Tested by

no test coverage detected