ConstCS.cs 32 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279
  1. //前后端共享常量,谨慎修改
  2. namespace ET
  3. {
  4. public class DressUpRarity
  5. {
  6. public const int Rarity_TIANYI = 4; //天衣
  7. public const int Rarity_DIANCANG = 3; //典藏
  8. public const int Rarity_ZHENXI = 2; //珍稀
  9. public const int Rarity_FANPIN = 1; //凡品
  10. }
  11. public class FriendType
  12. {
  13. //陌生人
  14. public const int Stranger = 0;
  15. //好友
  16. public const int Good = 1;
  17. //黑名单
  18. public const int Black = 2;
  19. //申请列表
  20. public const int Apply = 3;
  21. }
  22. public class GlobalConst
  23. {
  24. //名字最大长度
  25. public const int MaxNameLen = 7;
  26. }
  27. //奖励状态
  28. public class ConstBonusStatus
  29. {
  30. //不可领取
  31. public const int CAN_NOT_GET = 0;
  32. //可领取
  33. public const int CAN_GET = 1;
  34. //已领取
  35. public const int GOT = 2;
  36. //隐藏
  37. public const int HIDE = 3;
  38. }
  39. //奖励类型
  40. public enum ConstBonusType
  41. {
  42. //物品
  43. Item = 1,
  44. //套装
  45. Suit = 2
  46. }
  47. public class ConstInstanceZonesType
  48. {
  49. //主线剧情
  50. public const int Story = 1;
  51. //工作室
  52. public const int Studio = 2;
  53. //田野调查
  54. public const int Field = 3;
  55. //竞技场
  56. public const int Arena = 4;
  57. //纯剧情
  58. public const int PureStory = 5;
  59. //纯战斗
  60. public const int PureFight = 6;
  61. //爬塔
  62. public const int FieldWork = 7;
  63. }
  64. public class ConstInstanceZonesSubType
  65. {
  66. //普通(初级)
  67. public const int Normal = 0;
  68. //精英(中级)
  69. public const int Hard = 1;
  70. //高级
  71. public const int Hard2 = 2;
  72. //高级
  73. public const int Hard3 = 3;
  74. }
  75. //工作室子类型
  76. public class ConstStudioSubType
  77. {
  78. //金属修复
  79. public const int MetalRepair = 0;
  80. //织物修复
  81. public const int FabricRepair = 1;
  82. //书画修复
  83. public const int PictureRepair = 2;
  84. //查阅建档
  85. public const int Filing = 3;
  86. //瓷器修复
  87. public const int RepairPorcelain = 4;
  88. }
  89. //常用物品id
  90. public class ConstItemID
  91. {
  92. //经验
  93. public const int EXP = 1000001;
  94. //体力
  95. public const int POWER = 1000002;
  96. //金币
  97. public const int GOLD = 1000003;
  98. //珍珠
  99. public const int DIAMOND_PURPLE = 1000004;
  100. //马蹄金
  101. public const int DIAMOND_RED = 1000005;
  102. //活跃度
  103. public const int DAILY_LIVENESS = 1000006;
  104. //周活跃度
  105. public const int WEEKLY_LIVENESS = 1000016;
  106. //默认部件
  107. public const int DEFULT_FA_XING = 10000;
  108. public const int DEFULT_LIAN_YI_QUN = 20000;
  109. public const int DEFULT_NEI_DA = 30000;
  110. public const int DEFULT_XIA_ZHUANG = 50000;
  111. public const int DEFULT_BG = 180001;
  112. //拍照无边框无滤镜
  113. public const int BORDERID = 4000022;
  114. public const int EFFECTID = 4000030;
  115. public const int LUCKYBOX_COST_0 = 3000007;
  116. public const int LUCKYBOX_COST_1 = 3000013;
  117. public const int LUCKYBOX_COST_2 = 3000014;
  118. //札子
  119. public const int ZHA_ZI = 3000016;
  120. //对牌
  121. public const int PAIR_CARD = 3000017;
  122. //领票
  123. public const int GET_TICKETS = 3000018;
  124. // 元宵活动
  125. public const int YUANXIAO_GAME_CONSUME = 3000103;
  126. public const int YUANXIAO_REWARD = 3000104;
  127. //抽奖商店消耗
  128. public const int LUCKYBOX_STORE_COST = 3000005;
  129. //抽奖活动商店消耗
  130. public const int LUCKYBOX_ACTIVITY_STORE_COST = 3000005;
  131. public const int LUCKYBOX_ACTIVITY_STORE_COST_2 = 3000015;
  132. //开服活动消耗
  133. public const int OPEN_SERVER_COST_1 = 3000016;
  134. //画廊商店消耗
  135. public const int GALLERY_STORE_COST = 3000009;
  136. //默认头像
  137. public const int HEADID = 5000001;
  138. //默认头像框
  139. public const int HEADBORDERID = 5005001;
  140. //最大物品id
  141. public const int MAX_ITEM_ID = 9999999;
  142. //联盟资金
  143. public const int LEAGUE_COIN = 1000010;
  144. //联盟贡献
  145. public const int LEAGUE_CONTRIBUTION = 1000009;
  146. //联盟奖章
  147. public const int LEAGUE_CURRENCY = 1000011;
  148. //通行证织造力
  149. public const int BATTLE_PASS_CURRENCY = 1000012;
  150. //会员积分
  151. public const int VIP_EXP = 1000013;
  152. //七日任务积分
  153. public const int ACTIVITY_DAY_7_SCORE = 1000014;
  154. //令筹,飞花令商店本赛季消耗
  155. public const int ARENA_CUR_COST = 1000007;
  156. //花签,飞花令商店以往赛季消耗
  157. public const int ARENA_PAST_COST = 1000008;
  158. //路引,游历消耗
  159. public const int TRAVEL = 3000010;
  160. //领票--先写死,之后可以加个收集表
  161. public const int Ticket = 3000018;
  162. //寻奇访胜加速道具
  163. public const int TravelGuideSpeedItem = 3000102;
  164. //水月镜花道具
  165. public const int SYJH_PropID = 3008000;
  166. }
  167. //物品类型
  168. public class ConstItemType
  169. {
  170. // 换装部件
  171. public const int DRESS_UP = 99;
  172. // 货币
  173. public const int CURRENCY = 100;
  174. // 词牌
  175. public const int CARD = 200;
  176. // 材料
  177. public const int ITEM = 300;
  178. // 拍照物品
  179. public const int PHOTOGRAPH = 400;
  180. //头像、头像框
  181. public const int HEAD = 500;
  182. //可使用物品
  183. public const int USEABLE = 600;
  184. //徽章
  185. public const int BADGE = 700;
  186. }
  187. public class ConstItemSubType
  188. {
  189. //换装部件子类型由ConstDressUpItemType定义
  190. /// <summary>
  191. /// 拍照npc
  192. /// </summary>
  193. public const int PHOTOGRAPH_NPC = 1;
  194. /// <summary>
  195. /// 拍照边框
  196. /// </summary>
  197. public const int PHOTOGRAPH_BOREDR = 2;
  198. /// <summary>
  199. /// 拍照滤镜
  200. /// </summary>
  201. public const int PHOTOGRAPH_EFFECT = 3;
  202. //可使用物品-自动打开
  203. public const int USEABLE_AUTO = 0;
  204. //可使用物品-礼包-自选礼包
  205. public const int USEABLE_GIFT_BAG_SELECTABLE = 1;
  206. //可使用物品-礼包-随机礼包
  207. public const int USEABLE_GIFT_BAG_RANDOM = 2;
  208. //可使用的物品-自动打开-许愿盒随即礼包
  209. public const int USEABLE_GIFT_BAG_RANDOM_WISHING_POOL = 3;
  210. //头像-头像
  211. public const int ROLE_HEAD = 0;
  212. //头像-头像框
  213. public const int ROLE_HEADBORDER = 1;
  214. //头像-称号
  215. public const int ROLE_TITLE = 2;
  216. //材料
  217. public const int MATERIAL_NORMAL = 0;
  218. //材料-技能书
  219. public const int MATERIAL_SKILL_BOOK = 1;
  220. }
  221. public class ConstItemFuncType
  222. {
  223. //连续奖励礼包
  224. public const int CONTINUOUS_REWARD_GIFT = 1;
  225. //月卡
  226. public const int MONTH_CARD = 2;
  227. //通行证
  228. public const int PASS_PORT = 3;
  229. //随机保底礼包
  230. public const int RANDOM_GUARANTEED_GIFT_PACKAGE = 4;
  231. //许愿盒
  232. public const int RANDOM_WISHING_POOL_PACKAGE = 5;
  233. //阿福加赠
  234. public const int AFU_GIFT = 6;
  235. //红包
  236. public const int RED_PACKET = 7;
  237. //成长基金
  238. public const int GROW_UP_FUND = 8;
  239. //增加活动积分
  240. public const int ADD_ACTIVITY_COUNT_VALUE = 9;
  241. //消暑礼包
  242. public const int SummerVacationBox = 10;
  243. }
  244. //万水千山常量
  245. public class TravelGuideConst
  246. {
  247. // Q版隐身衣id(Q版套装_TravelSuitCfg)
  248. public const int INVISIBILITY_CLOAK_ID = 300001;
  249. // Q版默认衣id(Q版套装_TravelSuitCfg)
  250. public const int DEFAULT_TRAVEL_SUIT_ID = 300002;
  251. //游历最大时间 小时
  252. public const int TRAVEL_GUIDE_MAX_HOUR = 6;
  253. }
  254. //物品属性类型
  255. public enum ConstItemAttributeType
  256. {
  257. //风
  258. FENG = 1,
  259. //花
  260. HUA,
  261. //雪
  262. XUE,
  263. //月
  264. YUE
  265. }
  266. //物品属性动作类型
  267. public enum ConstItemAttributeActionType
  268. {
  269. //增加数值
  270. ADD_VALUE,
  271. //增加百分比
  272. ADD_PERCENT
  273. }
  274. //礼包刷新类型
  275. public class RefreshType
  276. {
  277. public const int NONE = 0;
  278. public const int DAY = 1;
  279. public const int WEEK = 2;
  280. public const int MONTH = 3;
  281. }
  282. //邮件状态
  283. public enum ConstMailStatus
  284. {
  285. //未读
  286. Unread = 0,
  287. //已读可领取
  288. ReadedButNotGet = 1,
  289. //已读已领取
  290. ReadedAndGot = 2
  291. }
  292. //赠送状态
  293. public enum ConstGiveGiftStatus
  294. {
  295. //可赠送
  296. CanGave = 0,
  297. //已赠送
  298. Gave = 1
  299. }
  300. //图片源
  301. public enum PictureSourceType
  302. {
  303. //个人相册
  304. PersonalAlbum = 0,
  305. //万水千山
  306. WanShuiQianShan = 1
  307. }
  308. //图片类型
  309. public enum PictureType
  310. {
  311. jpg = 0,
  312. png = 1,
  313. }
  314. //千山万水游历状态
  315. public enum TravelGuideType
  316. {
  317. //未游历
  318. NoTravel = 0,
  319. //游历中
  320. Travel = 1,
  321. //游历完成
  322. TravelComplete = 2
  323. }
  324. //画廊作品排序类型
  325. public enum GallerySortType
  326. {
  327. //推荐
  328. Recommend = 0,
  329. //最新
  330. Newest = 1,
  331. //好友
  332. Friend = 2,
  333. //我的收藏
  334. MyCollect = 3,
  335. //我的作品
  336. MyWorks = 4
  337. }
  338. //MailCfg邮件配置id
  339. public class ConstMailCfgId
  340. {
  341. public const int GalleryRankBonus = 1; //画廊排行奖励
  342. public const int ArenaRankBonus = 2; //恭喜您上周在竞技场中段位达到{0},现奉上一些奖励,请查收哦。
  343. public const int LeagueJoinMail = 3; //恭喜您加入雅集-{0}
  344. public const int LeagueRefusalMail = 4; //很遗憾,雅集-{0}拒绝了您的加入申请
  345. public const int LeagueKickMail = 5; //很遗憾,您被请离了雅集
  346. public const int RechargeMailId = 6; //恭喜您购买的{0}*{1}已到账
  347. public const int GoldCardSettlement = 7; //红包卡结算
  348. public const int BlackGoldCardSettlement = 8; //福气卡结算
  349. public const int LeagueTapPartyBonusPer = 9; //茶会个人评分奖励
  350. public const int LeagueTapPartyBonus = 10; //茶会雅集评分奖励
  351. public const int AfuGift = 11; //阿福赠礼
  352. public const int LeagueTapPartyBonusNotGet = 12; //茶会奖励未领取而被踢出雅集
  353. public const int MiniGameLoginSendFailReward = 13; //上号发送小游戏失败的奖励
  354. public const int InternalTestBenefits = 14; //内测福利
  355. public const int InternalTestPayBenefits = 15; //内测充值返利
  356. public const int SummerVacationBox = 18; //消暑礼包
  357. public const int JudgingRoundReward = 22; //搭配评选赛发送奖励
  358. }
  359. public class ConstQDId
  360. {
  361. public const int TapTap = 1;
  362. public const int HYKB = 2;
  363. public const int BiliBili = 3;
  364. public const int Own = 101;
  365. }
  366. public class ConstDressUpItemType
  367. {
  368. //发型
  369. public const int FA_XING = 1;
  370. //连衣裙
  371. public const int LIAN_YI_QUN = 2;
  372. //内搭
  373. public const int NEI_DA = 3;
  374. //上衣
  375. public const int SHANG_YI = 4;
  376. //下装
  377. public const int XIA_ZHUANG = 5;
  378. //外套
  379. public const int WAI_TAO = 6;
  380. //袜子
  381. public const int WA_ZI = 7;
  382. //鞋子
  383. public const int XIE_ZI = 8;
  384. //头饰
  385. public const int TOU_SHI = 9;
  386. //耳饰
  387. public const int ER_SHI = 10;
  388. //颈饰
  389. public const int JING_SHI = 11;
  390. //腰饰
  391. public const int YAO_SHI = 12;
  392. //手饰
  393. public const int SHOU_SHI = 13;
  394. //手持物
  395. public const int SHOU_CHI_WU = 14;
  396. //妆容
  397. public const int ZHUANG_RONG = 16;
  398. //氛围
  399. public const int FEN_WEI = 17;
  400. //背景
  401. public const int BEI_JING = 18;
  402. //环境
  403. public const int HUAN_JING = 19;
  404. //套装
  405. public const int TAO_ZHUANG = 20;
  406. //前景
  407. public const int QIAN_JING = 21;
  408. //背饰
  409. public const int BEI_SHI = 22;
  410. //披帛
  411. public const int PI_BO = 23;
  412. //面部
  413. public const int MIAN_BU = 24;
  414. //动作
  415. public const int DONG_ZUO = 25;
  416. //特殊
  417. public const int TE_SHU = 30;
  418. public const int MAX = 99;
  419. }
  420. public class LockType
  421. {
  422. public const int NONE = 0;
  423. public const int STORY_LV = 1;
  424. public const int ROLE_LV = 2;
  425. public const int MONTH_CARD_TYPE = 3;
  426. public const int AREND_GRADE = 4;
  427. }
  428. public class CostType
  429. {
  430. public const int FREE = 0;
  431. public const int ITEM = 1;
  432. public const int RMB = 2;
  433. public const int CHANNEL_PRODUCT_ID = 3;
  434. }
  435. //竞技场战斗对象类型
  436. public class FightTargetType
  437. {
  438. public const int PLAYER = 1;
  439. public const int ROBOT = 2;
  440. }
  441. //竞技场排行榜类型
  442. public class ArenaRankType
  443. {
  444. public const int NOW_SEASON = 1; //当前赛季
  445. public const int LAST_SEASON = 2; //上赛季
  446. public const int FRIEND = 3; //好友
  447. }
  448. //竞技场战斗晋级结果类型
  449. public class ArenaGradeAndRankChangeType
  450. {
  451. public const int NO_CHANGE = 1; //没有变化
  452. public const int UP = 2; //升级
  453. public const int DOWN = 3; //降级
  454. }
  455. //清理类型
  456. public enum LimitClearType
  457. {
  458. None = 0, //不清理
  459. Day, //每天清理
  460. Week, //每周清理
  461. Month, //每月清理
  462. Year //每年清理
  463. }
  464. //卡片变化类型
  465. public enum CarInfoChangeType
  466. {
  467. Add = 1, //添加
  468. Skill = 2, //技能
  469. Attribute = 3 // 属性
  470. }
  471. //联盟祈福类型
  472. public class LeaguePrayType
  473. {
  474. public const int First = 1;
  475. public const int Second = 2;
  476. public const int Third = 3;
  477. }
  478. //联盟建筑类型
  479. public class LeagueBuildingType
  480. {
  481. //宴客厅
  482. public const int Hall = 1;
  483. //小酒馆
  484. public const int Hotel = 2;
  485. //小金库
  486. public const int Store = 3;
  487. }
  488. //联盟职位
  489. public class LeaguePos
  490. {
  491. //会长
  492. public const int Owner = 1;
  493. //副会长
  494. public const int SubOwner = 2;
  495. //会花
  496. public const int Flower = 3;
  497. //会员
  498. public const int Member = 4;
  499. }
  500. public class LeagueJoinQuitLogType
  501. {
  502. //加入
  503. public const int Join = 1;
  504. //退出
  505. public const int Quit = 2;
  506. //变更
  507. public const int Change = 3;
  508. //踢掉
  509. public const int Kick = 4;
  510. }
  511. //联盟权限
  512. public class LeaguePower
  513. {
  514. public const int IsOwner = 1;
  515. //能否同意申请
  516. public const int CanAgreeApply = 1 << 1;
  517. //能否踢人
  518. public const int CanKick = 1 << 2;
  519. //能否被踢
  520. public const int CanBeKick = 1 << 3;
  521. //能否提权/降权
  522. public const int CanChangePos = 1 << 4;
  523. //改联盟名字和联盟徽章
  524. public const int ChangeNameAndIcon = 1 << 5;
  525. //修改公告
  526. public const int ChangeNotice = 1 << 6;
  527. //发广告
  528. public const int SendAd = 1 << 7;
  529. //设置申请权限
  530. public const int SetApplyStatus = 1 << 8;
  531. //升级建筑
  532. public const int UpBuilding = 1 << 9;
  533. //购买福利
  534. public const int BuyWelfare = 1 << 10;
  535. }
  536. public class LeaguePosPower
  537. {
  538. //会长
  539. public const int Owner = LeaguePower.IsOwner + LeaguePower.CanAgreeApply + LeaguePower.CanKick +
  540. LeaguePower.CanChangePos + LeaguePower.ChangeNameAndIcon + LeaguePower.ChangeNotice +
  541. LeaguePower.SendAd + LeaguePower.SetApplyStatus + LeaguePower.UpBuilding +
  542. LeaguePower.BuyWelfare;
  543. //副会长
  544. public const int SubOwner = LeaguePower.CanAgreeApply + LeaguePower.CanChangePos + LeaguePower.CanKick +
  545. LeaguePower.CanBeKick + LeaguePower.ChangeNotice + LeaguePower.SendAd +
  546. LeaguePower.SetApplyStatus + LeaguePower.UpBuilding + LeaguePower.BuyWelfare;
  547. //会花
  548. public const int Flower = LeaguePower.CanBeKick;
  549. //会员
  550. public const int Member = LeaguePower.CanBeKick;
  551. }
  552. //联盟申请状态 0:可申请,1:申请中, 3:拒绝
  553. public class LeagueApplyStatus
  554. {
  555. public const int CanApply = 0;
  556. public const int Applying = 1;
  557. public const int Refuse = 3;
  558. }
  559. //联盟福利礼包类型 1:日福利 2:周福利 3:超级周福利 4:超级日福利
  560. public class LeagueWelfareType
  561. {
  562. public const int ALL = 0;
  563. public const int Day = 1;
  564. public const int Week = 2;
  565. public const int SuperWeek = 3;
  566. public const int SuperDay = 4;
  567. }
  568. public class LeagueWelfareTypes
  569. {
  570. public static readonly int[] LeagueWelfareTypesData =
  571. { LeagueWelfareType.Day, LeagueWelfareType.Week, LeagueWelfareType.SuperWeek, LeagueWelfareType.SuperDay };
  572. }
  573. //联盟答题状态 0:结束 1:开启 2:答题结束 3:等待下一题
  574. public class LeagueQuestionStatus
  575. {
  576. public const int End = 0;
  577. public const int Open = 1;
  578. public const int AnswerEnd = 2;
  579. public const int WaitNext = 3;
  580. }
  581. //聊天类型
  582. public class ChatType
  583. {
  584. public const int Private = 1;
  585. public const int World = 2;
  586. public const int League = 3;
  587. public const int LeagueQuestion = 4;
  588. }
  589. //技能类型
  590. public class SkillType
  591. {
  592. public const int LeagueSkill = 1;
  593. }
  594. public class ChatSave
  595. {
  596. public static readonly int[] SaveArray = { ChatType.Private };
  597. }
  598. //月卡类型 1:红包卡 2:福气卡
  599. public class MonthCardType
  600. {
  601. public const int Gold = 1;
  602. public const int BlackGold = 2;
  603. }
  604. //月卡特权类型
  605. public class MonthCardPrivilegeType
  606. {
  607. public const int Privilege1 = 1; //立即获得{0}珍珠,每天返还{1}珍珠
  608. public const int Privilege2 = 2; //签到{0}种奖励翻倍
  609. public const int Privilege3 = 3; //自由换装的自定义套装栏+{0}
  610. public const int Privilege4 = 4; //个人相册展示栏+{0}
  611. public const int Privilege5 = 5; //红包卡专属头像框(有效期{0}天,续费叠加天数)
  612. public const int Privilege6 = 6; //福气卡专属头像框(有效期{0}天,续费叠加天数)
  613. public const int Privilege7 = 7; //体力上限+{0}
  614. public const int Privilege8 = 8; //每日可额外多领取{0}名好友赠送的体力
  615. public const int Privilege9 = 9; //书画修复次数+{0}
  616. public const int Privilege10 = 10; //金属修复次数+{0}
  617. public const int Privilege11 = 11; //瓷器修复次数+{0}
  618. public const int Privilege12 = 12; //织物修复次数+{0}
  619. public const int Privilege13 = 13; //查阅建档次数+{0}
  620. public const int Privilege14 = 14; //每周{0}次8折10连摘星
  621. public const int Privilege15 = 15; //每月免费领取{0}件专属天衣单品
  622. public const int Privilege16 = 16; //书画修复次数可储存{0}次(特权增加的次数会被储存)
  623. public const int Privilege17 = 17; //金属修复次数可储存{0}次(特权增加的次数会被储存)
  624. public const int Privilege18 = 18; //书简修复次数可储存{0}次(特权增加的次数会被储存)
  625. public const int Privilege19 = 19; //织物修复次数可储存{0}次(特权增加的次数会被储存)
  626. public const int Privilege20 = 20; //查阅建档次数可储存{0}次(特权增加的次数会被储存)
  627. public const int Privilege21 = 21; //飞花令次数可储存{0}次
  628. public const int Privilege22 = 22; //寻奇访胜相册上限+{0}
  629. public const int Privilege23 = 23; //背景特权
  630. }
  631. //月卡特权paramsType类型
  632. public class MonthCardPrivilegeParamsType
  633. {
  634. //Privilege 9-13 增量次数类型
  635. public const int ParamsType1 = 1;
  636. //Privilege 1,5,6
  637. public const int ParamsType2 = 2;
  638. //Privilege 16-20 储存次数类型
  639. public const int ParamsType3 = 3;
  640. }
  641. //任务类型
  642. public enum ConstTaskType
  643. {
  644. //完成副本 {1}关卡胜利{0}次
  645. CompleteInstanceZones = 1,
  646. //升级词牌 升级任意词牌{0}次
  647. UpgradeCardTimes = 2,
  648. //消耗道具 消耗{0}{1}
  649. UseItem = 3,
  650. //摘星 摘星{0}次
  651. PlayLuckBox = 4,
  652. //衣服收集 衣服收集数量达到{0}
  653. ClothesCollect = 5,
  654. //通关剧情 通关第{0}章
  655. FinishStory = 6,
  656. //主角等级 主角等级达到{0}级
  657. RoleLvl = 7,
  658. //词牌升级 任意{0}张词牌等级达到{1}级
  659. UpgradeCardLvl = 8,
  660. //好友数量 好友数量达到{0}个 FriendScene
  661. FriendCount = 9,
  662. //加入雅集 加入{0}个雅集 LeagueScene
  663. JoinYaJi = 10,
  664. //词牌升星 任意{0}张词牌达到{1}星
  665. UpgradeCardStar = 11,
  666. //赠送体力 赠送好友体力{0}次
  667. GivePower = 12,
  668. //学习茶艺 学习雅集茶艺{0}次
  669. StudyTeaArt = 13,
  670. //画廊点赞 画廊点赞{0}次
  671. GiveLikeGallery = 14,
  672. //联盟夜宴 参与{0}次联盟夜宴 (答题)
  673. LeagueQuestion = 15,
  674. //寻奇访胜 寻奇访胜{0}次
  675. TravelGuide = 16,
  676. //套装合成 套装合成-{0}
  677. Suitsynthesis = 17,
  678. //月卡返利 领取月卡的每日返利{0}次
  679. MonthCardRebate = 18,
  680. //通关关卡 通关精英第{0}章
  681. FinishInstanceZones = 19,
  682. //竞技场挑战次数 竞技场挑战{0}次
  683. AreaFightTimes = 20,
  684. //添加物品
  685. AddItem = 21,
  686. //累计登录{0}天
  687. LoginGameDays = 22,
  688. //0}累计摘星{1}次
  689. PlayTheLuckyBox = 23,
  690. //词牌收集数量达到{0}
  691. CardCollected = 24,
  692. //词牌技能{0}升级{1}次
  693. UpgradeCardSkill = 25,
  694. //天衣成功焕新{0}次
  695. ClothingMakeNew = 26,
  696. //关卡积累{0}个3星评价
  697. ThreeStarIntanceZones = 27,
  698. //累计在服装店购买{0}件衣服
  699. BuyClothing = 28,
  700. //部件收集:{0}收集数量达到{1}
  701. CollectParts = 29,
  702. }
  703. //任务功能类型
  704. public static class TaskFuncType
  705. {
  706. //每日
  707. public const int Daily = 1;
  708. //7日
  709. public const int Day7 = 2;
  710. //通行证
  711. public const int BattlePass = 3;
  712. //显示主题活动任务
  713. public const int LuckyBoxActivity = 4;
  714. //成就任务
  715. public const int Achievement = 5;
  716. //每周任务
  717. public const int Weekly = 6;
  718. //拜访任务
  719. public const int Visit = 7;
  720. //元宵活动任务
  721. public const int YuanXiaoActivity = 8;
  722. //任务类型限制
  723. public const int LessThan = 9;
  724. }
  725. //成就任务-任务分类
  726. public static class TaskAchievementTaskType
  727. {
  728. //成长
  729. public const int Development = 1;
  730. //收集
  731. public const int Collect = 2;
  732. //足迹
  733. public const int Footprint = 3;
  734. //竞技
  735. public const int Arena = 4;
  736. //任务类型限制
  737. public const int LessThan = 5;
  738. }
  739. //系统开启任务列表
  740. public static class TaskOpenType
  741. {
  742. public static readonly int[] TaskOpenTypes =
  743. {
  744. TaskFuncType.Day7, TaskFuncType.BattlePass, TaskFuncType.LuckyBoxActivity, TaskFuncType.Visit,
  745. TaskFuncType.YuanXiaoActivity
  746. };
  747. }
  748. //限时活动类型
  749. public static class ConstLimitTimeActivityType
  750. {
  751. //限时抽奖
  752. public const int ActLimitLuckyBox = 1;
  753. //限时累充
  754. public const int ActLimitChargeId = 2;
  755. //天市垣-开服抽奖
  756. public const int ActLimitTsy = 9;
  757. //开服累充
  758. public const int ActLimitOpenServerCharge = 10;
  759. //隋唐洛阳城
  760. public const int ActLimitStlyc = 11;
  761. //幸运折扣
  762. public const int LuckyDiscount = 16;
  763. }
  764. //活动状态
  765. public static class ConstActivityState
  766. {
  767. public const int Close = 0;
  768. public const int Open = 1;
  769. }
  770. public static class ActivityAcceptType
  771. {
  772. //固定时间接取
  773. public const int TimeAccept = 1;
  774. //等级接取
  775. public const int LevelAccept = 2;
  776. //抽奖奖池掉落次数接取
  777. public const int DropOutCountAccept = 3;
  778. //根据创角截止天数接取
  779. public const int AfterCreateRoleDayAccept = 4;
  780. }
  781. public static class ActivityType
  782. {
  783. //镜花水月
  784. public const int JSHY = 1;
  785. //限时累充
  786. public const int XSLC = 2;
  787. //限时礼包
  788. public const int XSLB1 = 3;
  789. //限时礼包
  790. public const int XSLB2 = 4;
  791. //限时礼包
  792. public const int XSLB3 = 5;
  793. //7日任务
  794. public const int Day7 = 6;
  795. //阿福赠礼
  796. public const int AFZL = 7;
  797. //限时累充_豆包私藏--万世礼-开服小累充
  798. public const int WanShiLi = 8;
  799. //天市垣-开服抽奖
  800. public const int TSY = 9;
  801. //开服累充
  802. public const int OpenServerCharge = 10;
  803. //神都宸游
  804. public const int ShenDuChenYou = 11;
  805. //新春活动 下午茶
  806. public const int TEA = 12;
  807. //午后闲趣
  808. public const int AfternoonLeisure = 13;
  809. //新春拜会
  810. public const int NewYearVisit = 14;
  811. //合成活动
  812. public const int ItemSynthetic = 15;
  813. //幸运折扣
  814. public const int LuckyDiscount = 16;
  815. //新年红包
  816. public const int NewYearRedPacket = 18;
  817. //成长基金
  818. public const int GrowUpFund = 19;
  819. // 元宵活动
  820. public const int YuanXiao = 20;
  821. //高级副本合成活动
  822. public const int AdvancedCompoundCopy = 21;
  823. //消暑礼包活动
  824. public const int SummerVacationBoxType = 100;
  825. //限定盲盒活动
  826. public const int BlindBoxType = 103;
  827. }
  828. public static class RechargeBackCode
  829. {
  830. public const int Success = 0;
  831. //订单不存在
  832. public const int OrderNotExist = 1;
  833. //订单重复
  834. public const int OrderExist = 2;
  835. //订单数量不对
  836. public const int OrderCountError = 3;
  837. //订单金额不对
  838. public const int OrderPriceError = 4;
  839. //订单系统有错误
  840. public const int OrderSystemError = 5;
  841. }
  842. //常用商品id
  843. public static class ConstShopID
  844. {
  845. //红包卡
  846. public const int GoldCard = 990001;
  847. //福气卡
  848. public const int BlackGoldCard = 990002;
  849. }
  850. //雅集夜宴答题结束奖励次数
  851. public class AnswerQuestionRewardEnd
  852. {
  853. //玩家每天最大能获取1次
  854. public const int MaxCount = 1;
  855. }
  856. //商店类型
  857. public class ConstStoreTabId
  858. {
  859. public const int STORE_CHARGE = 1; //商城-充值
  860. public const int STORE_MONTH_CARD = 2; //商城-月卡
  861. public const int STORE_GIFT_BAG = 3; //商城-礼包
  862. public const int STORE_EXCHANGE = 4; //商城-兑换
  863. public const int STORE_ARENA = 5; //商城-竞技场
  864. public const int FU_ZHUANG_DIAN = 101; //服装店
  865. public const int ENDURING_GIFT_BOX = 105; //常驻礼包
  866. }
  867. //商店子类型
  868. public class ConstStoreSubId
  869. {
  870. public const int STORE_CHARGE = 0; //充值
  871. public const int STORE_CHARGE_ADDUP = 1; //累计充值
  872. public const int STORE_MONTH_GOLD_CARD = 0; //红包卡
  873. public const int STORE_MONTH_BLACK_CARD = 1; //福气卡
  874. public const int STORE_MONTH_BROCADE_WEAV = 2; //锦罗织造
  875. public const int STORE_GROWTH_FUND = 3; //成长基金
  876. public const int STORE_GIFT_BAG_ACTIVITY = 0; //活动
  877. public const int STORE_GIFT_BAG_TIME_LIMIT = 1; //珍珠商城
  878. public const int STORE_GIFT_BAG_GREATEST = 2; //材料商城
  879. public const int STORE_GIFT_BAG_REBATE = 3; //返利商城
  880. public const int STORE_ACTIVITY_EXCHANGE = 0; //活动兑换
  881. public const int STORE_EXCHANGE_GALLERY = 1; //画廊商城
  882. public const int STORE_EXCHANGE_LEAGUE = 2; //雅集商城
  883. public const int STORE_ARENA_ITEM = 0; //竞技场
  884. public const int FU_ZHUANG_DIAN = 0; //服装店
  885. public const int ENDURING_GIFT_BOX_POWER = 0; //常驻礼包-体力
  886. public const int ENDURING_GIFT_BOX_GOLD = 1; //常驻礼包-金币
  887. }
  888. public class ConstLivenessType
  889. {
  890. public const int DailyTask = 1;
  891. public const int WeeklyTask = 2;
  892. }
  893. //联盟茶会状态
  894. public class LeagueTeaPartyStatus
  895. {
  896. public const int NotOpen = 0; //0未开启
  897. public const int YesOpen = 1; //1集结中
  898. public const int YesGo = 2; //2已集结
  899. }
  900. //小游戏类型
  901. public class MiniGameType
  902. {
  903. public const int CardGame = 1; //翻牌消消乐
  904. public const int Merge2048Game = 2; //2048
  905. public const int HuaRongRoadGame = 3; //华容道
  906. public const int Merge = 4; //合成
  907. public const int PickUp = 5; // 接东西
  908. }
  909. //红包状态
  910. public class RedPacketStatus
  911. {
  912. public const int None = 0; //未领
  913. public const int Open = 1; //已领
  914. public const int Double = 2; //已双倍领取
  915. }
  916. //搭配学院部位id 1.连衣裙或者上衣、下装及内搭 2.发型 3.外套 4.袜子
  917. // 5.鞋子 6.饰品 7.手持物 99.所有
  918. public class CollectPartID
  919. {
  920. //其他id
  921. public const int Other = 1;
  922. //发型id
  923. public const int FaXing = 2;
  924. //外套id
  925. public const int WaiTao = 3;
  926. //袜子id
  927. public const int WaZhi = 4;
  928. //鞋子id
  929. public const int XieZhi = 5;
  930. //饰品id
  931. public const int ShiPing = 6;
  932. //手持物id
  933. public const int ShouChiWu = 7;
  934. //所有id
  935. public const int All = 99;
  936. }
  937. /// <summary>
  938. /// 卡牌稀有度-s
  939. /// </summary>
  940. public class SConstCardRarity
  941. {
  942. /// <summary>
  943. /// 凡品
  944. /// </summary>
  945. public const int FangPing = 1;
  946. /// <summary>
  947. /// 珍稀
  948. /// </summary>
  949. public const int ZhenXi = 2;
  950. /// <summary>
  951. /// 典藏
  952. /// </summary>
  953. public const int DianCang = 3;
  954. /// <summary>
  955. /// 国色
  956. /// </summary>
  957. ///
  958. public const int GuoSe = 4;
  959. /// <summary>
  960. /// 天衣
  961. /// </summary>
  962. public const int TianYi = 5;
  963. }
  964. public class ItemParamProto
  965. {
  966. public int ItemId;
  967. public int Count;
  968. }
  969. }