player.go 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. package nameLocal
  2. const (
  3. Player_Time = "time"
  4. )
  5. const (
  6. Player_ClientSet = "clientSet"
  7. )
  8. const (
  9. Player_HeroStar = "heroStar"
  10. Player_HeroSkillUp = "heroSkillUp"
  11. Player_HeroWearEquip = "heroWearEquip"
  12. Player_HeroTakeOffEquip = "heroTakeOffEquip"
  13. )
  14. const (
  15. Player_ItemUse = "itemUse"
  16. Player_ItemSale = "itemSale"
  17. Player_ItemCraft = "itemCraft"
  18. Player_ItemMedicineUse = "itemMedicineUse"
  19. )
  20. const (
  21. Player_EquipCraft = "equipCraft"
  22. Player_EquipRandomCraft = "equipRandomCraft"
  23. Player_EquipEnhance = "equipEnhance"
  24. Player_EquipDimantle = "equipDismantle"
  25. Player_EquipSkillActive = "equipSkillActive"
  26. Player_EquipExchangeUnlock = "equipExchangeUnlock" // 上架前对装备进行解锁
  27. )
  28. const (
  29. Player_QuestReward = "questReward"
  30. Player_QuestChapterReward = "questChapterReward"
  31. )
  32. const (
  33. Player_Recruit = "recruit"
  34. )
  35. // pve/pvp阵容 非地图用阵容操作
  36. const (
  37. Player_LineupUp = "lineupUp" // 阵容上阵
  38. Player_LineupLeave = "lineupLeave" // 阵容下阵
  39. Player_LineupChange = "lineupChange" // 阵容交换
  40. Player_LineupAdjust = "lineupAdjust" // 阵容调整
  41. )
  42. const (
  43. Player_ChargeCreate = "chargeCreate" // 创建支付订单
  44. )
  45. const (
  46. Player_GMGetAsset = "gmGetAsset"
  47. Player_GMTimeOffset = "gmTimeOffset"
  48. )
  49. const (
  50. Player_ChatSend = "chatSend" // 发送聊天消息
  51. Player_ChatMsgList = "chatMsgList" // 获取聊天消息列表
  52. Player_ChatGroupCreate = "chatGroupCreate" // 创建群组聊天室
  53. Player_ChatGroupPlayerList = "chatGroupPlayerList" // 获取群组玩家列表
  54. Player_ChatGroupPlayerChange = "chatGroupPlayerChange" // 群组玩家修改
  55. Player_ChatGroupDismiss = "chatGroupDismiss" // 解散群组聊天室
  56. Player_ChatGroupInviteConfirm = "chatGroupInviteConfirm" // 群组邀请确认
  57. Player_ChatGroupQuit = "chatGroupQuit" // 主动退出一个群组
  58. Player_ChatGroupMute = "chatGroupMute" // 群组免打扰设置
  59. Player_ChatPrivateSend = "chatPrivateSend" // 发送私聊消息
  60. Player_ChatPrivateMsgList = "chatPrivateMsgList" // 获取某玩家的私聊消息列表
  61. Player_ChatSetting = "chatSetting" // 聊天设置
  62. )
  63. const (
  64. Player_Complaint = "complaint" // 举报投诉玩家
  65. )
  66. const (
  67. Player_FriendSearch = "friendSearch" // 查询玩家信息
  68. Player_FriendAdd = "friendAdd" // 好友添加
  69. Player_FriendConfirm = "friendConfirm" // 好友申请确认
  70. Player_FriendDel = "friendDel" // 删除好友
  71. Player_BlackSetting = "blackSetting" // 黑名单设置
  72. )
  73. const (
  74. Player_ChapterBattle = "chapterBattle" // 探险发起关卡战斗
  75. Player_ChapterVerify = "chapterVerify" // 探险关卡战斗验证
  76. Player_ChapterLevelSweep = "chapterLevelSweep" // 探险关卡扫荡
  77. Player_ChapterStarReward = "chapterStarReward" // 探险累计星级奖励领取
  78. Player_ChapterLevelTimesBuy = "chapterLevelTimesBuy" // 探险关卡挑战次数购买
  79. )
  80. const (
  81. Player_ShopBuy = "shopBuy" // 商店购买
  82. )
  83. const (
  84. Player_LordInfo = "lordInfo" // 领主信息
  85. Player_LordChangeName = "lordChangeName" // 修改领主名称
  86. Player_LordChangeIcon = "lordChangeIcon" // 修改领主头像
  87. Player_LordChangeFrame = "lordChangeFrame" // 修改领主头像框
  88. Player_LordChangeBg = "lordChangeBg" // 修改领主信息背景
  89. Player_LordChangeDesc = "lordChangeDesc" // 修改领主信息简介
  90. Player_LordShowActive = "lordShowActive" // 外显激活
  91. Player_LordShowView = "lordShowView" // 查看外显
  92. Player_LordLangSelect = "lordLangSelect" // 语言设置
  93. Player_LordShowDataSet = "lordShowDataSet" // 数据设置-展示数据
  94. )
  95. const (
  96. Player_VipDailyReward = "vipDailyReward" // 领取每日VIP奖励
  97. )