| 12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- package enum
- type ChatType int32
- var (
- ChatType_Game ChatType = 1 // 游戏服聊天类型
- ChatType_League ChatType = 2 // 联盟
- ChatType_Map ChatType = 3 // 地图
- ChatType_Group ChatType = 4 // 群组
- ChatType_Private ChatType = 5 // 私聊
- ChatType_System ChatType = 6 // 系统
- )
- // 检查聊天类型是否合法
- func CheckChatType(typ int32) bool {
- return typ >= int32(ChatType_Game) && typ <= int32(ChatType_System)
- }
- type ChatMsgType int32
- var (
- ChatMsgType_Text ChatMsgType = 0 // 玩家输入文本类型
- ChatMsgType_FriendAdd ChatMsgType = 1001 // {玩家名字}已与领主结为好友
- ChatMsgType_LordUp ChatMsgType = 1002 // 恭喜领主升级到Lv.{0}
- ChatMsgType_buildUp ChatMsgType = 1003 // {建筑名}Lv.{等级}已升级完成
- ChatMsgType_conscript ChatMsgType = 1004 // {等级士兵}×{数量}已征召
- ChatMsgType_conscriptUp ChatMsgType = 1005 // {等级士兵}×{数量}已完成升级
- ChatMsgType_resourceMax ChatMsgType = 1006 // {资源名字}达到上限
- ChatMsgType_reward ChatMsgType = 1007 // 恭喜获得:{道具ID×数量}
- ChatMsgType_equipEnhance ChatMsgType = 1008 // {装备名字}成功强化为+{强化等级}
- )
- type ComplaintType int32
- var (
- ComplaintType_SpamAd ComplaintType = 1 // 垃圾广告
- ComplaintType_Cheating ComplaintType = 2 // 举报外挂
- ComplaintType_BadSend ComplaintType = 3 // 不良发言
- ComplaintType_illegal ComplaintType = 4 // 不法行为
- ComplaintType_BadName ComplaintType = 5 // 不雅昵称
- ComplaintType_AdPull ComplaintType = 6 // 广告拉人
- ComplaintType_Other ComplaintType = 7 // 举报其他
- )
|