namespace SVSim.BattleNode.Protocol;
///
/// Wire value of result on a BattleFinish frame. The client's
/// BattleFinishResponsProcessing switch maps these as:
/// 0 → LOSE, 1 → WIN, 2 → CONSISTENCY (desync / action-list mismatch).
///
///
/// This is NOT the same as the client's in-memory BATTLE_RESULT_TYPE enum
/// (NONE=0, WIN=1, LOSE=2, CONSISTENCY=3) — the wire codes shift LOSE down to 0.
/// Always serialize as the int value, not the name; see the
/// JsonNumberEnumConverter on .
///
public enum BattleResult
{
Lose = 0,
Win = 1,
Consistency = 2,
}