Open WNP78 opened 1 month ago
I am open to reviewing pull requests that resolve this.
Enums currently have an original name attribute (when their namespace is prefixed). I would be open to expanding that to all types which had their namespace prefixed.
ClassInjector.SystemTypeFromIl2CppType
finds types by querying IL2CPP for their full name and assembly name and then using the managedType.GetType
on a string constructed from it, which fails when they have theIl2Cpp
prefix added to them. I made a hacky fix, which just tries adding Il2Cpp if it fails without it, but there should probably be a better way that somehow checks if it's being prefixed.