Unverified Commit a25c6812 authored by Melledy's avatar Melledy
Browse files

Update `AvatarCostumeData` naming

parent 0c906aa4
...@@ -8,7 +8,8 @@ import emu.grasscutter.data.ResourceType; ...@@ -8,7 +8,8 @@ import emu.grasscutter.data.ResourceType;
public class AvatarCostumeData extends GameResource { public class AvatarCostumeData extends GameResource {
private int costumeId; private int costumeId;
private int itemId; private int itemId;
private int avatarId; private int characterId;
private int quality;
@Override @Override
public int getId() { public int getId() {
...@@ -19,11 +20,15 @@ public class AvatarCostumeData extends GameResource { ...@@ -19,11 +20,15 @@ public class AvatarCostumeData extends GameResource {
return this.itemId; return this.itemId;
} }
public int getAvatarId() { public int getCharacterId() {
return avatarId; return characterId;
} }
@Override public int getQuality() {
return quality;
}
@Override
public void onLoad() { public void onLoad() {
GameData.getAvatarCostumeDataItemIdMap().put(this.getItemId(), this); GameData.getAvatarCostumeDataItemIdMap().put(this.getItemId(), this);
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment