knah/Il2CppAssemblyUnhollower

Il2CppReferenceArray<Il2CppSystem.Object> usage

herbertinger opened this issue · 3 comments

hey i started using ur staff through melonloader

i have older binaries from the game and can check what functions used to look like before il2cpp
the rpc arguments used to expect a "params object[]", now after il2cpp it expects an Il2CppReferenceArray<Il2CppSystem.Object>

i tried a few things on how to create an array with this but cant seem to get this to work.

aspecially cuz the arguments arent objects but all kind of types such as floats, booleans, vectors and some other things like enums.

any help would be appreciated :D

Il2CppReferenceArray<T> has an implicit conversion from T[], so you should be able to use a normal array as your argument.

keir86 commented

Did you ever figure this out?

ds5678 commented

I think everyone uses Il2CppInterop now.