1
This commit is contained in:
parent
da0c160315
commit
4d51a7549c
@ -90,63 +90,6 @@ message MFPagination
|
|||||||
optional int32 total_page = 4; //总页数
|
optional int32 total_page = 4; //总页数
|
||||||
}
|
}
|
||||||
|
|
||||||
//房间信息(房间列表)
|
|
||||||
message MFRoom
|
|
||||||
{
|
|
||||||
optional string room_id = 1; //房间号
|
|
||||||
optional int32 map_id = 2; //地图id
|
|
||||||
optional int32 zone_id = 3; //区id
|
|
||||||
optional int32 node_id = 4; //节点id
|
|
||||||
optional int32 has_passwd = 5; //是否有密码
|
|
||||||
optional int32 team_num = 6; //队伍数
|
|
||||||
optional int32 player_num = 7; //玩家数
|
|
||||||
optional int32 team_max_num = 8; //最大队伍数
|
|
||||||
optional int32 player_max_num = 9; //最大玩家数
|
|
||||||
optional int32 my_team_id = 10; //我的队伍id
|
|
||||||
|
|
||||||
optional MFMember owner = 20; //房主
|
|
||||||
}
|
|
||||||
|
|
||||||
//队伍成员信息
|
|
||||||
message MFMember
|
|
||||||
{
|
|
||||||
optional string account_id = 1; //账号id
|
|
||||||
optional string name = 2; //
|
|
||||||
optional string avatar_url = 3; //头像
|
|
||||||
optional string hero_id = 4; //英雄id
|
|
||||||
optional string head_frame = 5; //头像框
|
|
||||||
optional int32 state = 9; //0:准备 1:已准备
|
|
||||||
optional int32 is_leader = 10; // 是否队长
|
|
||||||
optional int32 ping = 20; //ping值(单位毫秒)
|
|
||||||
}
|
|
||||||
|
|
||||||
//队伍信息
|
|
||||||
message MFTeam
|
|
||||||
{
|
|
||||||
optional int32 team_id = 1; //队伍id
|
|
||||||
optional string team_uuid = 2; //队伍唯一id
|
|
||||||
repeated MFMember members = 3; //成员列表
|
|
||||||
}
|
|
||||||
|
|
||||||
//自己所在房间信息
|
|
||||||
message MFCurrentRoom
|
|
||||||
{
|
|
||||||
optional string room_id = 1; //房间号
|
|
||||||
optional int32 map_id = 2; //地图id
|
|
||||||
optional int32 zone_id = 3; //区id
|
|
||||||
optional int32 has_passwd = 4; //是否有密码
|
|
||||||
optional int32 team_num = 5; //队伍数
|
|
||||||
optional int32 player_num = 6; //玩家数
|
|
||||||
optional int32 team_max_num = 7; //最大队伍数
|
|
||||||
optional int32 player_max_num = 8; //最大玩家数
|
|
||||||
optional int32 my_team_id = 9; //我的队伍id
|
|
||||||
optional MFTeam observer_team = 10; //观者者队伍
|
|
||||||
|
|
||||||
optional MFMember owner = 20; //房主
|
|
||||||
|
|
||||||
repeated MFTeam team_list = 30; //队伍列表
|
|
||||||
}
|
|
||||||
|
|
||||||
//登录
|
//登录
|
||||||
message CMLogin
|
message CMLogin
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user