Toxocious / Aetherim

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

Consider Implementing Method.hpp and Field.hpp #2

Closed Toxocious closed 1 year ago

Toxocious commented 1 year ago

These would further expand upon the library by adding Method.hpp and `Field.hpp files.

Method.hpp would implement further support for methods.

Field.hpp would implement further support for fields.

Toxocious commented 1 year ago

Method.hpp has been implemented as of commit 1887a78.

It introduces the Method class. When you call Class->get_method("METHOD_NAME"), a Method pointer is returned, allowing you to access a variety of functions for the method you've fetched.

Toxocious commented 1 year ago

Field.hpp has been implemented as of commit aae2411.

It introduces the Field class. Instances of this class are pointed to when Class->get_field() is called, which then grant you access to a variety of helper methods for the field that's been fetched.