From a25c681274352c9595be0be07f13fa86e0278329 Mon Sep 17 00:00:00 2001 From: Melledy <52122272+Melledy@users.noreply.github.com> Date: Thu, 25 Aug 2022 11:47:22 -0700 Subject: [PATCH] Update `AvatarCostumeData` naming --- .../grasscutter/data/excels/AvatarCostumeData.java | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/src/main/java/emu/grasscutter/data/excels/AvatarCostumeData.java b/src/main/java/emu/grasscutter/data/excels/AvatarCostumeData.java index 342a30652..71c6b583d 100644 --- a/src/main/java/emu/grasscutter/data/excels/AvatarCostumeData.java +++ b/src/main/java/emu/grasscutter/data/excels/AvatarCostumeData.java @@ -8,7 +8,8 @@ import emu.grasscutter.data.ResourceType; public class AvatarCostumeData extends GameResource { private int costumeId; private int itemId; - private int avatarId; + private int characterId; + private int quality; @Override public int getId() { @@ -19,11 +20,15 @@ public class AvatarCostumeData extends GameResource { return this.itemId; } - public int getAvatarId() { - return avatarId; + public int getCharacterId() { + return characterId; } - @Override + public int getQuality() { + return quality; + } + + @Override public void onLoad() { GameData.getAvatarCostumeDataItemIdMap().put(this.getItemId(), this); }