1
This commit is contained in:
parent
c345d0c560
commit
d80ef9f58c
@ -81,6 +81,15 @@ message MFTupleString
|
||||
repeated string values = 1; //values
|
||||
}
|
||||
|
||||
//分页信息
|
||||
message MFPagination
|
||||
{
|
||||
optional int32 total = 1; //总记录数
|
||||
optional int32 count = 2; //当前页查到的记录数
|
||||
optional int32 current_page = 3; //当前第几页
|
||||
optional int32 total_page = 4; //总页数
|
||||
}
|
||||
|
||||
//房间信息(房间列表)
|
||||
message MFRoom
|
||||
{
|
||||
@ -93,15 +102,17 @@ message MFRoom
|
||||
optional int32 team_max_num = 7; //最大队伍数
|
||||
optional int32 player_max_num = 8; //最大玩家数
|
||||
|
||||
optional string owner_id = 20; //房主账号id
|
||||
optional string owner_name = 11; //房主账号名字
|
||||
optional MFMember owner = 20; //房主
|
||||
}
|
||||
|
||||
//队伍成员信息
|
||||
message MFMember
|
||||
{
|
||||
optional string account_id = 1; //账号id
|
||||
optional string name = 2; //mignz
|
||||
optional string name = 2; //
|
||||
optional string avatar_url = 3; //头像
|
||||
optional int32 hero_id = 4; //英雄id
|
||||
optional int32 state = 9; //0:准备 1:已准备
|
||||
optional int32 ping = 20; //ping值(单位毫秒)
|
||||
}
|
||||
|
||||
@ -124,8 +135,7 @@ message MFCurrentRoom
|
||||
optional int32 team_max_num = 7; //最大队伍数
|
||||
optional int32 player_max_num = 8; //最大玩家数
|
||||
|
||||
optional string owner_id = 20; //房主账号id
|
||||
optional string owner_name = 21; //房主账号名字
|
||||
optional MFMember owner = 20; //房主
|
||||
|
||||
repeated MFTeam team_list = 30; //队伍列表
|
||||
}
|
||||
@ -183,12 +193,13 @@ message SMCreateRoom
|
||||
//获取房间列表
|
||||
message CMRoomList
|
||||
{
|
||||
|
||||
optional int32 page = 1; //
|
||||
}
|
||||
|
||||
message SMRoomList
|
||||
{
|
||||
|
||||
optional MFPagination Pagination = 1; //分页信息
|
||||
repeated MFRoom rows = 2; //
|
||||
}
|
||||
|
||||
//加入房间
|
||||
|
2
third_party/f5
vendored
2
third_party/f5
vendored
@ -1 +1 @@
|
||||
Subproject commit fe1acddcc815ffb3359c460c1dff03ad20da42cd
|
||||
Subproject commit 851f2aeead295c80560055426c5644c04a564597
|
Loading…
x
Reference in New Issue
Block a user