syntax = "proto2";

package PrivateRoomCmd;

//option optimize_for = LITE_RUNTIME;

option java_package = "com.miaole.live.protocol.request";
option java_outer_classname = "PrivateRoomCmd";

//创建房间(个人房间):成功返回RoomResult.CreateData
message createRoom {
	optional string name = 1;//房间名字
	optional string gameId = 2;//绑定的游戏id
	optional string zone = 3;//区服
	optional string os = 4;//操作系统
}

//修改房间
message modifyRoom {
	optional string roomId = 1;//房间ID
	repeated string keys = 2;//修改的key
	repeated string values = 3;//修改的值
}

//获取房间信息:返回RoomResult.RoomInfo
message getRoomInfo {
	optional string roomId = 1;//房间ID
}

//获取房间成员列表(在线):返回RoomResult.MemberList
message getRoomMembers {
	optional string roomId = 1;//房间ID
}


