Reflection-System Class Module
This module provides all the functionallity for the usage of Types/Classes from the reflection system in Lua.
Dependencies |
Globals
classes : ClassLib
A peseudo table that can be used to look up classes/types.
Ideal usage of it is classes.Inventory.
Since the type lookup occurs in the metatable-function, you can still use the []-Operator in the case
you want to look up something based on a dynamic string e.g. structs[myStringVar] works just fine.