123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110 |
- syntax = "proto3";
- package ET;
- import 'Common.proto';
- // 黄冈晃晃 玩家准备
- //ResponseType G2C_HGHHReady
- message C2G_HGHHReady // IRequest
- {
- int32 RpcId = 1;
- }
- message G2C_HGHHReady // IResponse
- {
- int32 RpcId = 1;
- int32 Error = 2;
- string Message = 3;
- bool IsReady = 4;
- }
- message G2C_HGHHReadyPush // IActorMessage
- {
- RoomInfo info = 1; // 房间信息
- }
- // 黄冈晃晃 踢出房间
- //ResponseType G2C_HGHHKick
- message C2G_HGHHKick // IRequest
- {
- int32 RpcId = 1;
- int32 RoomId = 2; // 房间号
- int64 PlayerId = 3; // 玩家id
- }
- message G2C_HGHHKick // IResponse
- {
- int32 RpcId = 1;
- int32 Error = 2;
- string Message = 3;
- }
- message G2C_HGHHKickPush // IActorMessage
- {
- RoomInfo info = 1; // 房间信息(给其他3个玩家推送信息)
- }
- // 黄冈晃晃 准备开始推送
- message G2C_HGHHReadyStartPush // IActorMessage
- {
- int64 ReadyStartTime = 1; // x秒倒计时动画
- }
- // 黄冈晃晃 牌局开始推送
- message G2C_HGHHStartPush // IActorMessage
- {
- RoomInfo info = 1; // 房间信息
- }
- // 黄冈晃晃 摸牌推送
- message G2C_HGHHDrawCardPush // IActorMessage
- {
- RoomInfo info = 1; // 房间信息
- }
- // 黄冈晃晃 玩家出牌
- //ResponseType G2C_HGHHDisCard
- message C2G_HGHHDisCard // IRequest
- {
- int32 RpcId = 1;
- int32 Card = 2; // 出的牌
- }
- message G2C_HGHHDisCard // IResponse
- {
- int32 RpcId = 1;
- int32 Error = 2;
- string Message = 3;
- }
- message G2C_HGHHDisCardPush // IActorMessage
- {
- RoomInfo info = 1; // 房间信息(给其他3个玩家推送xx出牌信息)
- }
- // 黄冈晃晃 玩家操作吃 碰 杠 胡 过
- //ResponseType G2C_HGHHOperation
- message C2G_HGHHOperation // IRequest
- {
- int32 RpcId = 1;
- int32 OpType = 2; // 1吃 2碰 3杠 4胡 5过
- int32 Card = 3; // 杠:想杠的牌 吃:顺子第一张
- }
- message G2C_HGHHOperation // IResponse
- {
- int32 RpcId = 1;
- int32 Error = 2;
- string Message = 3;
- }
- message G2C_HGHHOperationPush // IActorMessage
- {
- RoomInfo info = 1; // 房间信息
- int32 OpType = 2; // 操作类型 1吃 2碰 3杠 4胡 5过
- }
- message G2C_HGHHSettlementPush // IActorMessage
- {
- int32 CurRound = 1; // 当前局数
- repeated PlayerInfo PlayerInfo = 2; // 输赢玩家数据
- }
|