You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

52 lines
762 B
Protocol Buffer

syntax = "proto3";
package pb;
option go_package = "/pbPush";
message PushUser{
int64 uId = 1; // 用户id
string uname = 2; // 用户名
string avatar = 3; // 头像
}
message JoinGame{
PushUser user = 1;
}
message CreateUnit{
PushUser user = 1;
string unit = 2;//1-步兵2-骑兵3-弓箭手4-法师
}
message Move{
PushUser user = 1;
string line = 2;//1-上2-中3-下
}
message Outbreak{
PushUser user = 1;
}
message Gift{
PushUser user = 1;
int64 giftId = 2;
int64 num = 3;
string giftName = 4;
int64 totalCoin = 5;
int64 sendTime = 6;
}
message Wai{
PushUser user = 1;
}
message BuildingMode{
PushUser user = 1;
string mode = 2;
}
message DanmakuMsg {
PushUser user = 1;
string content = 2;
}