ioncodes / dnpatch

.NET Patcher library using dnlib
MIT License
313 stars 49 forks source link

Help with getting the correct type while creating an instruction with buildCall #55

Closed loco-choco closed 4 years ago

loco-choco commented 4 years ago

Hello, I was trying to create a instruction which requires "this" as an variable:

image

But so far I wasn't able to decide what I should place so that typeof() can convert it correctly, I've tried void but it only threw an error while saving the patch:

image

Any kind of help will be appreciated

ioncodes commented 4 years ago

Apologies didn't see the issue. Did you manage to figure it out?

loco-choco commented 4 years ago

yeah, I gave a look at the other issues and found what I was looking for, thanks anyway