Grasscutter/src/main/java/emu/grasscutter/game/avatar/AvatarProfileData.java

24 lines
412 B
Java
Raw Normal View History

2022-04-17 12:43:07 +00:00
package emu.grasscutter.game.avatar;
public class AvatarProfileData {
private int avatarId;
private int level;
public AvatarProfileData(GenshinAvatar avatar) {
this.update(avatar);
}
public int getAvatarId() {
return avatarId;
}
public int getLevel() {
return level;
}
public void update(GenshinAvatar avatar) {
this.avatarId = avatar.getAvatarId();
this.level = avatar.getLevel();
}
}