using MessagePack;

namespace GameFix.Mahjong
{
    /// <summary>
    /// 操作类型
    /// </summary>
    public enum OperationType
    {
        /// <summary>
        /// 无操作
        /// </summary>
        None = 0,
        
        /// <summary>
        /// 出牌
        /// </summary>
        ChuPai = 1,
        
        /// <summary>
        /// 过
        /// </summary>
        Guo = 2,
        
        /// <summary>
        /// 吃牌
        /// </summary>
        ChiPai = 3,
        
        /// <summary>
        /// 碰牌
        /// </summary>
        PengPai = 4,
        
        /// <summary>
        /// 杠牌
        /// </summary>
        GangPai = 5,
        
        /// <summary>
        /// 胡牌
        /// </summary>
        HuPai = 6,
        
        /// <summary>
        /// 下一张摸的牌
        /// </summary>
        NextPai = 7,
        
        /// <summary>
        /// 换牌
        /// </summary>
        HuanPai = 8,
        
        /// <summary>
        /// 保存数据
        /// </summary>
        SaveData = 9,
        
        /// <summary>
        /// 买分
        /// </summary>
        MaiScore = 10,

        /// <summary>
        /// 杠发财
        /// </summary>
        GangFaCai = 11,

        /// <summary>
        /// 补牌
        /// </summary>
        BuPai = 12,
        
        /// <summary>
        /// 发牌结束
        /// </summary>
        FaPaiOver = 13,

        /// <summary>
        /// 掷骰子
        /// </summary>
        ZhiTouZi = 14,

        /// <summary>
        /// 亮精
        /// </summary>
        LiangJing = 15,

        /// <summary>
        /// 听牌
        /// </summary>
        TingPai = 16,

        /// <summary>
        /// 选精
        /// </summary>
        XuanJing = 17,

        /// <summary>
        /// 换精
        /// </summary>
        HuanJing = 18,
    }
}