fix costumes are unable to be unlocked. (#1842)

* fix: costumes are able to be unlocked.

* Update AvatarCostumeData
This commit is contained in:
hamusuke 2022-10-09 09:40:42 +09:00 committed by GitHub
parent 004a765e5b
commit e23536e7ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,19 +1,21 @@
package emu.grasscutter.data.excels;
import com.google.gson.annotations.SerializedName;
import emu.grasscutter.data.GameData;
import emu.grasscutter.data.GameResource;
import emu.grasscutter.data.ResourceType;
@ResourceType(name = "AvatarCostumeExcelConfigData.json")
public class AvatarCostumeData extends GameResource {
private int costumeId;
@SerializedName(value = "skinId", alternate = "costumeId")
private int skinId;
private int itemId;
private int characterId;
private int quality;
@Override
public int getId() {
return this.costumeId;
return this.skinId;
}
public int getItemId() {