Default package

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

service RouteService

commonRpcService.proto:15

message C2SHandshakeReq

appCommon.proto:72

kHandsakeReq 0x101 这里其实要存放一些用于校验合法用户的信息,我这里的包头里面已经带了uid所以这里没什么需要带的 用户校验可以学习一下密码学

(message has no fields)

message CardInfo

appCommon.proto:162

牌信息

Used in: DeskInitInfo, GameOverNty, PlayCardNty, PlayCardReq, PlayerInfo, SetLandLordNty, StartGameNty

enum Cmd

appCommon.proto:2

message DeskInitInfo

appCommon.proto:113

桌子初始化信息

enum DeskStatus

appCommon.proto:63

桌子状态

message DeskUpdateNty

appCommon.proto:179

kLandLordDeskUpdateNty 0x12000 桌子信息更新 ,主要是跟新用户信息

enum ErrCode

appCommon.proto:41

错误码枚举

message GameOverNty

appCommon.proto:217

游戏结束通知 kLandLordGameOverNty 0x1200A

message JoinGameReq

appCommon.proto:88

kLandLordJoinGameReq 0x10001

message JoinGameRsp

appCommon.proto:94

kLandLordJoinGameRsp 0x10002

message PlayCardNty

appCommon.proto:209

玩家出牌通知 kLandLordPlayCardNty 0x12008

message PlayCardReq

appCommon.proto:199

玩家出牌请求 kLandLordPlayCardReq 0x10007

message PlayCardRsp

appCommon.proto:204

玩家出牌回包 kLandLordPlayCardRsp 0x10008

message PlayerInfo

appCommon.proto:137

用户的信息

Used in: DeskInitInfo, DeskUpdateNty, GameOverNty, JoinGameRsp, StartGameRsp

enum PlayerStatus

appCommon.proto:56

玩家状态

message RobLandInfoNty

appCommon.proto:184

抢地主信息通知 kLandLordRobLandNty 0x12004

message RobLandReq

appCommon.proto:168

抢地主请求 kLandLordRobLandReq 0x10005

message RobLandRsp

appCommon.proto:173

抢地主回包 kLandLordRobLandRsp 0x10006

enum RouteMsgType

common.proto:43

与route服务器之间的交互信息

message RspHead

appCommon.proto:51

公共包头

Used in: JoinGameRsp, PlayCardRsp, RobLandRsp, S2CCommonRsp, StartGameRsp

message S2CCommonRsp

appCommon.proto:83

message S2CHandshakeRsp

appCommon.proto:79

kHandshakeRsp 0x102 这里其实可以存放一些用于客户端校验服务器信息的数据,todo 自己去加 todo 目前这个先用于获取uid

(message has no fields)

message SetLandLordNty

appCommon.proto:192

地主确定通知 kLandLordSetLandLordNty 0x12006

message StartGameNty

appCommon.proto:156

kLandLordStartGameNty 0x12002 各个玩家的开始游戏通知

message StartGameReq

appCommon.proto:102

kLandLordStartGameReq 0x1000A

(message has no fields)

message StartGameRsp

appCommon.proto:105

enum SvrMsgType

common.proto:3

message clientMsg

common.proto:33

message connectMsg

common.proto:19

用于register和reconnect

message monitorMsg

common.proto:25

message routeMsg

common.proto:48

message routeRegister

common.proto:53

message svrMsg

common.proto:12

服务器间交互的通用协议