mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-01-25 03:53:00 +08:00
fix costumes are unable to be unlocked. (#1842)
* fix: costumes are able to be unlocked. * Update AvatarCostumeData
This commit is contained in:
parent
004a765e5b
commit
e23536e7ba
@ -1,19 +1,21 @@
|
|||||||
package emu.grasscutter.data.excels;
|
package emu.grasscutter.data.excels;
|
||||||
|
|
||||||
|
import com.google.gson.annotations.SerializedName;
|
||||||
import emu.grasscutter.data.GameData;
|
import emu.grasscutter.data.GameData;
|
||||||
import emu.grasscutter.data.GameResource;
|
import emu.grasscutter.data.GameResource;
|
||||||
import emu.grasscutter.data.ResourceType;
|
import emu.grasscutter.data.ResourceType;
|
||||||
|
|
||||||
@ResourceType(name = "AvatarCostumeExcelConfigData.json")
|
@ResourceType(name = "AvatarCostumeExcelConfigData.json")
|
||||||
public class AvatarCostumeData extends GameResource {
|
public class AvatarCostumeData extends GameResource {
|
||||||
private int costumeId;
|
@SerializedName(value = "skinId", alternate = "costumeId")
|
||||||
|
private int skinId;
|
||||||
private int itemId;
|
private int itemId;
|
||||||
private int characterId;
|
private int characterId;
|
||||||
private int quality;
|
private int quality;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int getId() {
|
public int getId() {
|
||||||
return this.costumeId;
|
return this.skinId;
|
||||||
}
|
}
|
||||||
|
|
||||||
public int getItemId() {
|
public int getItemId() {
|
||||||
|
Loading…
Reference in New Issue
Block a user