mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-12-05 01:45:29 +00:00
24 lines
412 B
Java
24 lines
412 B
Java
|
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();
|
||
|
}
|
||
|
}
|