Kasuromi / GTFO-API

GNU General Public License v3.0
9 stars 7 forks source link

Custom Consumable Support #1

Closed Kasuromi closed 3 years ago

Kasuromi commented 3 years ago

Support for creating consumables with:

Kasuromi commented 3 years ago

For this to work properly a change needs to be made to Unhollower's ClassInjector to make it work with virtual methods.

For example: The Item class provides virtual methods for OnDespawn, Setup, etc. Without being able to override or get access to these, personalized behavior will feel very hacky and non-intuitive.