Toxocious / Aetherim

A C++ library for accessing Unity's IL2CPP classes, methods, and fields during run-time.
GNU General Public License v3.0
65 stars 16 forks source link

Implement Type.hpp #5

Closed Toxocious closed 1 year ago

Toxocious commented 1 year ago

Type.hpp has been implemented, which provides a very basic wrapper for handling Type pointers that are gotten from other native IL2CPP methods.

On top of this basic wrapper, a couple of fixes have been implemented regarding class fields, specifically where getting all class fields and getting a class's static field would cause crashing due to an unnecessary check when processing the fields.

The README has been updated to reflect this.