Allow subclasses for @AutoGen
falseresync opened this issue ยท 0 comments
I suggest adding a new @AutoGen(passthrough = true)
option specifically to enable this kind of thing:
@SerialEntry
@AutoGen(category = CHEATS, passthrough = true)
// this means that the field won't be converted to an option
// instead the fields of this object will
public Cheats cheats = new Cheats();
public static final class Cheats {
@SerialEntry
@TickBox
@AutoGen // All of the fields generated under the category CHEATS
// The category field has to be optional and have a usage contract instead
public boolean expendWandChargeInSurvival = true;
}