Package de.Keyle.MyPet.api.skill
Class UpgradeSchema
java.lang.Object
de.Keyle.MyPet.api.skill.UpgradeSchema
Declarative description of a skill's upgrade JSON fields, registered alongside the
UpgradeParser and shipped to the web editor as skill metadata.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classCollects the fields a skill's upgrade JSON declares.static final classOne upgrade field: name (the exact JSON key the parser reads), type, and display hints.static enumThe kinds of field a skill's upgrade JSON can declare. -
Method Summary
Modifier and TypeMethodDescriptionstatic UpgradeSchema.Builderbuilder()Starts building a schema.fields()The fields this schema declares.
-
Method Details
-
fields
The fields this schema declares.- Returns:
- the top-level fields, in declaration order
-
builder
Starts building a schema.- Returns:
- a new builder
-