namespace MultiversalDiplomacy.Adjudicate;
public enum ValidationReason
{
///
/// The order is valid.
///
Valid = 0,
///
/// The order type is not valid for the current phase of the game.
///
InvalidOrderTypeForPhase = 1,
///
/// A hold order was created to replace an illegal order.
///
IllegalOrderReplacedWithHold = 2,
///
/// The power that issued this order does not control the ordered unit.
///
InvalidUnitForPower = 3,
///
/// The ordered unit received conflicting orders and all orders were invalidated.
///
DuplicateOrders = 4,
///
/// An army was ordered into the sea or a fleet was ordered onto the land.
///
IllegalDestinationType = 5,
///
/// A unit was ordered to move to where it already is.
///
DestinationMatchesOrigin = 6,
///
/// The destination of the move is not reachable from the origin.
///
UnreachableDestination = 7,
///
/// The order type is not valid for the unit.
///
InvalidOrderTypeForUnit = 8,
///
/// A unit was ordered to support itself.
///
NoSelfSupport = 9,
///
/// A unit was ordered to support a location it could not reach.
///
UnreachableSupport = 10,
///
/// A unit was ordered to support a move to its own province.
///
NoSupportMoveAgainstSelf = 11,
///
/// A unit was ordered that is not currently eligible to receive orders.
///
IneligibleForOrder = 12,
}