internal static string ActivityTypeString(ActivityTypes actType) { if (actType != ActivityTypes.Unspecified) { if (actType == ActivityTypes.StatusUpdate) { return("Status Update"); } else { return(actType.ToString()); } } return(null); }
public static string GetActivityChineseName(ActivityTypes type) { string activityName = type.ToString(); switch (type) { case ActivityTypes.InputFirst: activityName = "首充大礼"; break; case ActivityTypes.InputFanLi: activityName = "充值返利"; break; case ActivityTypes.InputJiaSong: activityName = "充值加送"; break; case ActivityTypes.InputKing: activityName = "充值王"; break; case ActivityTypes.LevelKing: activityName = "冲级王"; break; case ActivityTypes.EquipKing: activityName = "装备王"; break; case ActivityTypes.HorseKing: activityName = "坐骑王"; break; case ActivityTypes.JingMaiKing: activityName = "经脉王"; break; case ActivityTypes.JieriDaLiBao: activityName = "节日大礼包"; break; case ActivityTypes.JieriDengLuHaoLi: activityName = "节日登录豪礼"; break; case ActivityTypes.JieriVIP: activityName = "节日VIP大礼"; break; case ActivityTypes.JieriCZSong: activityName = "节日充值送礼"; break; case ActivityTypes.JieriLeiJiCZ: activityName = "节日累计充值大礼"; break; case ActivityTypes.JieriZiKa: activityName = "节日字卡换礼盒"; break; case ActivityTypes.JieriPTXiaoFeiKing: activityName = "节日消费王"; break; case ActivityTypes.JieriPTCZKing: activityName = "节日充值王"; break; case ActivityTypes.JieriBossAttack: activityName = "节日Boss攻城"; break; case (ActivityTypes)18: case (ActivityTypes)19: case ActivityTypes.HeFuShopLimit: case ActivityTypes.HeFuAwardTime: case ActivityTypes.XingYunChouJiang: case ActivityTypes.YuDuZhuanPanChouJiang: case ActivityTypes.NewZoneUpLevelMadman: case ActivityTypes.NewZoneRechargeKing: case ActivityTypes.NewZoneConsumeKing: case ActivityTypes.NewZoneBosskillKing: case ActivityTypes.NewZoneFanli: case ActivityTypes.TotalCharge: case ActivityTypes.TotalConsume: case ActivityTypes.JieriTotalConsume: case ActivityTypes.JieriDuoBei: case ActivityTypes.JieriQiangGou: case ActivityTypes.HeFuLuoLan: case ActivityTypes.SpecActivity: case ActivityTypes.EverydayActivity: case ActivityTypes.SpecPriorityActivity: case (ActivityTypes)65: case ActivityTypes.JieriFuLi: case ActivityTypes.JieRiHongBao: case ActivityTypes.JieRiChongZhiHongBao: case ActivityTypes.JieRiHongBaoKing: break; case ActivityTypes.HeFuLogin: activityName = "合服登陆豪礼"; break; case ActivityTypes.HeFuTotalLogin: activityName = "合服累计登陆"; break; case ActivityTypes.HeFuRecharge: activityName = "合服充值返利"; break; case ActivityTypes.HeFuPKKing: activityName = "合服PK王大礼"; break; case ActivityTypes.HeFuBossAttack: activityName = "合服Boss攻城"; break; case ActivityTypes.MeiRiChongZhiHaoLi: activityName = "每日充值豪礼"; break; case ActivityTypes.ChongJiLingQuShenZhuang: activityName = "充级领取神装"; break; case ActivityTypes.ShenZhuangJiQingHuiKui: activityName = "神装激情回赠"; break; case ActivityTypes.XinCZFanLi: activityName = "新区充值返利"; break; case ActivityTypes.OneDollarBuy: activityName = "1元直购"; break; case ActivityTypes.OneDollarChongZhi: activityName = "1元充值"; break; case ActivityTypes.InputFanLiNew: activityName = "3周年充值返利"; break; case ActivityTypes.JieriGive: activityName = "节日赠送"; break; case ActivityTypes.JieriGiveKing: activityName = "节日赠送王"; break; case ActivityTypes.JieriRecvKing: activityName = "节日收取王"; break; case ActivityTypes.JieriWing: activityName = "节日翅膀返利"; break; case ActivityTypes.JieriAddon: activityName = "节日追加返利"; break; case ActivityTypes.JieriStrengthen: activityName = "节日强化返利"; break; case ActivityTypes.JieriAchievement: activityName = "节日成就返利"; break; case ActivityTypes.JieriMilitaryRank: activityName = "节日军衔返利"; break; case ActivityTypes.JieriVIPFanli: activityName = "节日VIP返利"; break; case ActivityTypes.JieriAmulet: activityName = "节日护身符返利"; break; case ActivityTypes.JieriArchangel: activityName = "节日大天使返利"; break; case ActivityTypes.JieriLianXuCharge: activityName = "节日连续充值"; break; case ActivityTypes.JieriMarriage: activityName = "节日婚姻返利"; break; case ActivityTypes.JieriRecv: activityName = "节日收取"; break; case ActivityTypes.JieriInputPointsExchg: activityName = "节日充值点数兑换"; break; case ActivityTypes.JieriChongZhiQiangGou: activityName = "节日充值抢购"; break; case ActivityTypes.JieriVIPYouHui: activityName = "节日VIP优惠"; break; case ActivityTypes.DanBiChongZhi: activityName = "单笔充值"; break; case ActivityTypes.JieRiMeiRiLeiJi: activityName = "节日每日累充大礼"; break; case ActivityTypes.JieriSuperInputFanLi: activityName = "节日超级充值返利"; break; case ActivityTypes.JieRiHuiJi: activityName = "节日徽记返利"; break; case ActivityTypes.JieRiFuWen: activityName = "节日符文返利"; break; case ActivityTypes.JieriPCKingEveryDay: activityName = "节日每日平台充值王"; break; default: switch (type) { case ActivityTypes.TriennialRegressSignAward: activityName = "3周年回归签到"; break; case ActivityTypes.TriennialRegressTotalRechargeAward: activityName = "3周年回归累计充值"; break; case ActivityTypes.TriennialRegressDayBuy: activityName = "3周年回归每日直购"; break; case ActivityTypes.TriennialRegressStore: activityName = "3周年回归专属商城"; break; } break; } return(activityName); }