-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlobby.proto
executable file
·38 lines (32 loc) · 1.06 KB
/
lobby.proto
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
//联盟信息
message s2c_clubInfo {
required int32 clubID = 1;//联盟ID
required string clubName = 2;//联盟名字
required string personality = 3;//联盟公告
repeated string logoGs = 4;//联盟头像
required int32 memberNumber = 5;//成员数量
required int32 onlineNumber = 6;//在线数量
required int32 combatNumber = 7;//对局数量
}
//代理信息
message s2c_adminInfo {
required int32 agentID = 1; //代理ID
required int32 memberNumber = 2; //成员数量
required int32 onlineNumber = 3;//在线数量
required int32 combatNumber = 4;//对局数量
}
//联盟成员
message s2c_memberInfo {
required int32 memberID = 1;//成员ID
required string office = 2;//成员身份
}
//联盟信息
message s2c_clubClub {
optional s2c_clubInfo club = 1;//联盟信息
optional s2c_adminInfo admin = 2;//代理信息
optional s2c_memberInfo member = 3;//成员信息
}
//联盟数据
message s2c_clubClubs {
repeated s2c_clubClub clubs = 1;//联盟信息
}