RedisKeys.lua
1.92 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
-- role
R_INCR = "role:%d:autoincr"
R_HEROS = "role:%d:heroIds"
R_HERO = "hero:%d:%d"
R_DAILY = "role:%d:daily"
R_ACTIVITY = "role:%d:act"
R_DINER = "role:%d:diner" -- 餐厅
R_PVP = "role:%d:pvp" -- pvp
R_EQUIP_ROOT = "role:%d:equip*" -- 装备根目录
R_RUNEIDS = "role:%d:runeIds" -- 玩家拥有符文自增id
R_RUNE = "role:%d:rune:%d" -- 符文详细信息
R_EMAIL = "role:%d:emailIds" --邮件列表
R_EMAIL_ITEM = "email:%d:%d" --邮件
R_STORE = "role:%d:store" -- 商店
R_ORDERS = "role:%d:orders" -- 订单
R_ORDER = "order:%d:%d"
-- 通用排行榜
RANK_COMMON = "rank:common:"
RANK_TYPE = {
ActBattleBoss = "act_battle_boss",
ActCrisis = "crisis",
}
-- rank
RANK_TOWER = "rank:tower"
RANK_TOWER_INFO = "rank:tower:info"
-- adv
RANK_ADV = {"rank:adv1", "rank:adv2"}
RANK_ADV_INFO = "rank:adv:info"
RANK_DINER = {"rank:diner1", "rank:diner2"} -- 餐厅排行榜 两个每天互换
RANK_DINER_INFO = "rank:diner:info"
RANK_PVP_COMMON = "rank:pvpc"
RANK_PVP_COMMON_KEY = {"rank:pvpc1", "rank:pvpc2"}
RECORD_PVP_COMMON = "record:pvpc:%d"
RANK_PVP_HIGHT = "rank:pvph"
RANK_PVP_HIGHT_KEY = {"rank:pvph1", "rank:pvph2"}
RECORD_PVP_HIGH = "record:pvph:%d"
FRIEND_KEY = "role:%d:friend" --哈希表 好友
FRIEND_APPLY_KEY = "role:%d:apply" -- sort set 申请列表
FRIEND_BLACK_KEY = "role:%d:black" -- set 黑名单
FRIEND_POINT = "role:%d:point" -- set 当天送给我心的人
FRIEND_RECOMMEND = "friend:recommend" -- sort set 登录排序 获取推荐好友
CHAT_OFFLINE = "chat:offline:%d" --消息离线缓存
-- FRIEND_DINER_LIKE_KEY = "role:%d:diner:like" -- list
-- UNION_SET = "global:union"
-- UNION_KEY = "union:%d"
-- UNION_ROLE = "union:%d:%d"
-- UNION_ROLE_SET = "union:%d:roleList"
-- UNION_APPLY_SET = "union:%d:applyList"
-- PVP_KING = "pvp:king" --王者传奇组
-- PVP_HONOR = "pvp:honor" --荣耀咸鱼组
-- PVP_NOOB = "pvp:noob" --菜鸟组
-- PVP_INFO = "pvp:info" --玩家信息组