JisolGame/JisolGameCocos/proto/GPVPMessage.proto
2023-12-05 01:43:43 +08:00

28 lines
659 B
Protocol Buffer

syntax = "proto3";
option java_package = "cn.jisol.ngame.proto";
//PVP 开始
message GPVPStart {
string leftTactical = 1; //左边的布阵
map<int64, string> leftPets = 2; //左边的宠物 key:宠物Id value PlayerPet JSON
string rightTactical = 3; //右边的布阵
map<int64, string> rightPets = 4; //右边的宠物 key:宠物Id value PlayerPet JSON
int64 leftPlayerId = 5; //左边的玩家Id
int64 rightPlayerId = 6; //右边的玩家Id
}
//PVP 消息提示
message GPVPText {
string text = 1; //消息提示
}
//PVP 裁决结束返回
message GPVPRefereeInfo{
//获胜玩家Id
int64 winnerId = 1;
}