BattlePassMissionStatus.java 818 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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;
	}
}