Skip to content

Commit

Permalink
Merge pull request #3 from xiv-gear-planner/materia-level
Browse files Browse the repository at this point in the history
Add materia ilvl property
  • Loading branch information
xpdota authored Sep 12, 2024
2 parents f99f008 + 0e63f0e commit aa8aeb3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class FullData implements Serializable {
// The persistence later avoids conflicts between concurrently-running versions by
// using a different object storage key based on the serialVersionUID
@Serial
static final long serialVersionUID = 5
static final long serialVersionUID = 6

final List<String> versions
final List<BaseParam> baseParams
Expand Down
2 changes: 1 addition & 1 deletion src/main/groovy/gg/xp/xivgear/dataapi/models/ItemBase.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public interface ItemBase extends XivApiObject {

Icon getIcon();

// Ignored because of another methd providing this
// Ignored because of another method providing this
@JsonIgnore
ClassJobCategory getClassJobCategory();

Expand Down
5 changes: 5 additions & 0 deletions src/main/groovy/gg/xp/xivgear/dataapi/models/MateriaItem.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package gg.xp.xivgear.dataapi.models;

import gg.xp.xivapi.annotations.XivApiField;
import gg.xp.xivapi.annotations.XivApiRaw;
import gg.xp.xivapi.clienttypes.XivApiObject;

public interface MateriaItem extends XivApiObject {
Expand All @@ -8,4 +10,7 @@ public interface MateriaItem extends XivApiObject {

Icon getIcon();

@XivApiRaw
@XivApiField("LevelItem")
int getIlvl();
}

0 comments on commit aa8aeb3

Please sign in to comment.