knah / Il2CppAssemblyUnhollower

A tool to generate Managed->IL2CPP proxy assemblies
GNU Lesser General Public License v3.0
500 stars 87 forks source link

Minor QoL fix for Logging Class Injections #28

Closed ds5678 closed 3 years ago

ds5678 commented 3 years ago

Reference Issues/PRs

When registering a type with RegisterTypeInIl2Cpp in the class ClassInjector, a success is followed by a notification in the log. This may be undesirable in some situations, such as when doing many class injections.

What does this implement/fix? Explain your changes.

I added a parameter to suppress output in the log after a successful class injection. This parameter is set by default to not suppress any output.

Any other comments?

No

js6pak commented 3 years ago

This is a binary breaking change, and feels dirty

ds5678 commented 3 years ago

I made the code cleaner, and I don't think it's binary breaking anymore. Are there any other changes needed?