mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-25 20:56:28 +00:00
Update AvatarCostumeData
naming
This commit is contained in:
parent
0c906aa4ce
commit
a25c681274
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user