mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-01-12 09:32:59 +08:00
27 lines
818 B
Java
27 lines
818 B
Java
|
package emu.grasscutter.game.props;
|
||
|
|
||
|
import emu.grasscutter.net.proto.BattlePassMissionOuterClass.BattlePassMission.MissionStatus;
|
||
|
|
||
|
public enum BattlePassMissionStatus {
|
||
|
MISSION_STATUS_INVALID (0, MissionStatus.MISSION_STATUS_INVALID),
|
||
|
MISSION_STATUS_UNFINISHED (1, MissionStatus.MISSION_STATUS_UNFINISHED),
|
||
|
MISSION_STATUS_FINISHED (2, MissionStatus.MISSION_STATUS_FINISHED),
|
||
|
MISSION_STATUS_POINT_TAKEN (3, MissionStatus.MISSION_STATUS_POINT_TAKEN);
|
||
|
|
||
|
private final int value;
|
||
|
private final MissionStatus missionStatus;
|
||
|
|
||
|
BattlePassMissionStatus(int value, MissionStatus missionStatus) {
|
||
|
this.value = value;
|
||
|
this.missionStatus = missionStatus; // In case proto enum values change later
|
||
|
}
|
||
|
|
||
|
public int getValue() {
|
||
|
return value;
|
||
|
}
|
||
|
|
||
|
public MissionStatus getMissionStatus() {
|
||
|
return missionStatus;
|
||
|
}
|
||
|
}
|