export enum MAIL_STATUS {
    DELETE = -1,
    CREATE = 0,
    READ = 1,
    RECEIVED = 2,
};

export enum MAIL_TIME_TYPE {
    IMMEDIATE = 1,      // 即时邮件
    DELAY = 2,          // 延时邮件
    CIRCLE = 3,         // 循环邮件
};


export enum GM_MAIL_STATUS {
    CREATE = 0,         // 创建
    PASS = 1,          // 审批通过
    NOT_PASS = -1,          // 审批不通过
};

export enum GM_MAIL_TYPE {
    ALL = 0,
    SINGLE = 1,       // 单人邮件
    GROUP = 2,        // 多人邮件
    SERVER = 3,       // 全服邮件
};

// 邮件内容类型
export enum MAIL_TYPE {
    SEND_MAIL = 0,
    GUILD_APPLY_REFUSE = 1,
    GUILD_BE_IMPEACH = 2,
    GUILD_BE_SET_LEADER = 3,
    GUILD_BE_KICK = 4,
    GUILD_ACTIVE_REWARD = 5,
    GUILD_BE_SET_MANAGER = 6,
    GUILD_BE_SET_MEMBER = 7,
    GUILD_BOSS_OPEN = 8,
    GUILD_BOSS_REWARD = 9,
    GUILD_TRAIN_REWARD = 10,
    WISH_POOL_REWARD = 11,
    PVP_RESULT = 12,
    PVP_RANK_REWARD = 13,
    GUILD_ACTIVITY_REWARD = 14,
    AUCTION_OVER = 15, // 拍卖出价被超过
    AUTION_REWARD = 16,  // 成功拍取
    GUILD_DIVIDEND = 17, // 忘记领取分红
    EQUIP_OVER = 18,  // 装备超数量
    TOWER_TASK_REWARD = 19, // 镇念塔派遣过期奖励
    MONTHLY_REWARD = 20, // 月卡奖品
    TREAT_ROLE_NAME = 21, // 改玩家名
    TREAT_GUILD_INFO = 22, // 改军团名
    TIME_LIMIT_RANK = 23, // 限时排行榜
    GUILD_DAILY_BOX = 24,  // 军团每日活跃宝箱补领
    GUILD_FUND_BOX = 25,   // 军团每日捐献宝箱补领
    GUILD_BOSS = 26, // 军团boss奖励
    PVP_BOX = 27, // pvp巅峰之路宝箱
    DAILY_COIN = 28, // 招财进宝宝箱
    GUILD_DISSMISS = 29,  // 军团解散
    LADDER = 30,     // 名将擂台
    GUILD_MAIL = 31, // 军团邮件
    REBATE = 32,    // 返利邮件
    GROUP_SHOP_REFUND = 33,    // 退费
    ARTIFACT_OVER = 34,    // 宝物数量超过
    LEAGUE_DISSMISS = 35,   // 联军解散
    LEAGUE_KICK = 36,    // 被踢出联军
    LEAGUE_ABDICATE = 37,    // 被任命盟主
    HELP_HARVEST = 38,    // 帮收
    GVG_BATTLE_LEAGUE_RANK_REWARD = 39, // 激战期联军排行榜奖励
    GVG_BATTLE_PLAYER_RANK_REWARD = 40, // 激战期个人排行榜奖励
    GVG_GUARD_CITY_REWARD = 41, // 激战期城池占领奖励
    LEAGUE_MAIL = 42, // 联军邮件
    VESTIGE_REWARD = 43, // 补发遗迹邮件
};

export const SEND_NAME = '系统';
export const SEND_TITLE = '系统邮件';