JisolGame/JisolGameCocos/proto/GPVPMessage.proto

28 lines
659 B
Protocol Buffer
Raw Permalink Normal View History

2023-11-20 18:25:50 +08:00
syntax = "proto3";
option java_package = "cn.jisol.ngame.proto";
//PVP 开始
message GPVPStart {
string leftTactical = 1; //左边的布阵
2023-12-05 01:43:43 +08:00
map<int64, string> leftPets = 2; //左边的宠物 key:宠物Id value PlayerPet JSON
2023-11-21 01:57:40 +08:00
string rightTactical = 3; //右边的布阵
2023-12-05 01:43:43 +08:00
map<int64, string> rightPets = 4; //右边的宠物 key:宠物Id value PlayerPet JSON
2023-11-22 17:46:08 +08:00
int64 leftPlayerId = 5; //左边的玩家Id
int64 rightPlayerId = 6; //右边的玩家Id
2023-11-21 01:57:40 +08:00
}
//PVP 消息提示
message GPVPText {
string text = 1; //消息提示
2023-11-20 18:25:50 +08:00
}
2023-11-22 17:46:08 +08:00
//PVP 裁决结束返回
message GPVPRefereeInfo{
//获胜玩家Id
int64 winnerId = 1;
}
2023-11-20 18:25:50 +08:00