|
- ----------------------------- 好友 ---------------------------
- cc.exports.OpcodeFriendListGet = 10001
- cc.exports.OpcodeFriendListAck = 10002
- cc.exports.OpcodeFriendFollowReq = 10003
- cc.exports.OpcodeFriendFollowAck = 10004
-
- G_EapProtos["FriendListItem"] = {
- PID = {1, "sint32"},
- DPID = {2, "sint32"}, --好友
- Flag = {3, "sint32"}, --状态 1:关注
- Time = {4, "uint32"}, --关注时间
- }
- -- 获取好友列表
- G_EapProtos[OpcodeFriendListGet] = {
- PID = {1, "sint32"},
- Secret = {2, "string"},
- PageNum = {3, "sint32"},
- ItemNum = {4, "sint32"},
- }
- G_EapProtos[OpcodeFriendListAck] = {
- nRet = {1, "sint32"},
- PID = {2, "sint32"},
- PageNum = {3, "sint32"},
- ItemNum = {4, "sint32"},
- VecFreinds = {5, "FriendListItem", "repeated"}, --好友列表
- }
- -- 关注、取消关注好友
- G_EapProtos[OpcodeFriendFollowReq] = {
- PID = {1, "sint32"}, --本人
- Secret = {2, "string"},
- DPID = {3, "sint32"}, --操作对象
- Flag = {4, "sint32"}, -- 1:关注 2:取消关注
- }
- G_EapProtos[OpcodeFriendFollowAck] = {
- nRet = {1, "sint32"},
- PID = {2, "sint32"}, --本人
- DPID = {3, "sint32"}, --操作对象
- Flag = {4, "sint32"}, -- 1:关注 2:取消关注
- }
|