2021-12-05 17:54:36 +00:00
|
|
|
#pragma once
|
|
|
|
|
2022-07-05 06:00:10 +00:00
|
|
|
#ifndef __MISSIONSTATE__H__
|
|
|
|
#define __MISSIONSTATE__H__
|
|
|
|
|
2021-12-05 17:54:36 +00:00
|
|
|
/**
|
|
|
|
* Represents the possible states a mission can be in
|
|
|
|
*/
|
2023-01-07 05:17:05 +00:00
|
|
|
enum class MissionState : int32_t {
|
2021-12-05 17:54:36 +00:00
|
|
|
/**
|
|
|
|
* The mission state is unknown
|
|
|
|
*/
|
|
|
|
MISSION_STATE_UNKNOWN = -1,
|
2022-07-28 13:39:57 +00:00
|
|
|
|
2021-12-05 17:54:36 +00:00
|
|
|
/**
|
|
|
|
* The mission is yielding rewards
|
|
|
|
*/
|
|
|
|
MISSION_STATE_REWARDING = 0,
|
2022-07-28 13:39:57 +00:00
|
|
|
|
2021-12-05 17:54:36 +00:00
|
|
|
/**
|
|
|
|
* The mission can be accepted
|
|
|
|
*/
|
|
|
|
MISSION_STATE_AVAILABLE = 1,
|
2022-07-28 13:39:57 +00:00
|
|
|
|
2021-12-05 17:54:36 +00:00
|
|
|
/**
|
|
|
|
* The mission has been accepted but not yet completed
|
|
|
|
*/
|
|
|
|
MISSION_STATE_ACTIVE = 2,
|
2022-07-28 13:39:57 +00:00
|
|
|
|
2021-12-05 17:54:36 +00:00
|
|
|
/**
|
|
|
|
* All the tasks for the mission have been completed and the entity can turn the mission in to complete it
|
|
|
|
*/
|
|
|
|
MISSION_STATE_READY_TO_COMPLETE = 4, //!< The mission is ready to complete
|
2022-07-28 13:39:57 +00:00
|
|
|
|
2021-12-05 17:54:36 +00:00
|
|
|
/**
|
|
|
|
* The mission has been completed
|
|
|
|
*/
|
|
|
|
MISSION_STATE_COMPLETE = 8,
|
2022-07-28 13:39:57 +00:00
|
|
|
|
2021-12-05 17:54:36 +00:00
|
|
|
/**
|
|
|
|
* The mission is available again and has been completed before. Used for daily missions.
|
|
|
|
*/
|
|
|
|
MISSION_STATE_COMPLETE_AVAILABLE = 9,
|
2022-07-28 13:39:57 +00:00
|
|
|
|
2021-12-05 17:54:36 +00:00
|
|
|
/**
|
|
|
|
* The mission is active and has been completed before. Used for daily missions.
|
|
|
|
*/
|
|
|
|
MISSION_STATE_COMPLETE_ACTIVE = 10,
|
2022-07-28 13:39:57 +00:00
|
|
|
|
2021-12-05 17:54:36 +00:00
|
|
|
/**
|
|
|
|
* The mission has been completed before and has now been completed again. Used for daily missions.
|
|
|
|
*/
|
|
|
|
MISSION_STATE_COMPLETE_READY_TO_COMPLETE = 12
|
|
|
|
};
|
2022-07-05 06:00:10 +00:00
|
|
|
|
|
|
|
#endif //!__MISSIONSTATE__H__
|