Update AvatarCostumeData naming

This commit is contained in:
Melledy 2022-08-25 11:47:22 -07:00
parent 0c906aa4ce
commit a25c681274
No known key found for this signature in database
GPG Key ID: 2A8E7A1D64737CCB

View File

@ -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 {
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);
} }