HTCheater/Il2CppExplorer

Confused about documentation for explorer.getField()

Closed this issue · 1 comments

The documentation for explorer.getField() and explorer.editField() says this:

5th parameter is desired index

However, the titles of the two functions don't include this parameter:

### explorer.getField(instance, offset, offsetX32, type)
### explorer.editField(instance, offset, offsetX32, type, value)

Also, the examples don't seem to provide this 5th parameter:

explorer.getField(explorer.getInstances('RGHand')[1], 0x10, 0x8, gg.TYPE_DWORD)
explorer.editField(instance, offset, offsetX32, type, value)

explorer.editField(explorer.getInstances('RGHand')[1], 0x10, 0x8, gg.TYPE_DWORD, 99999)

Additionally, the code doesn't seem to have it:

function explorer.getField(instance, offset, offsetX32, valueType)
function explorer.editField(instance, offset, offsetX32, valueType, value)

So, what is this mysterious 5th parameter? I am guessing that it was removed, and you forgot to update the documentation.

yeah, it was removed