syntax = "proto2";

package TrusteeshipCmd;

//option optimize_for = LITE_RUNTIME;

option java_package = "com.miaole.live.protocol.request";
option java_outer_classname = "TrusteeshipCmd";


//获得我玩过的游戏 返回：游戏ID数组 CommonResult.StringArrayResult
message getMyPlayGame {

}

//托管游戏
message trusteeshipGame {
	optional string recipientId = 1;//承接人ID
	optional string gameId = 2;//游戏ID
	optional string os = 3;//系统
	optional string serverName = 4;//区服名
	optional string roleName = 5;//角色名
	optional string desc = 6;//托管描述
	optional string assetDesc = 7;//资产描述
	repeated bytes logoBytes = 8;//上传多张截图
	optional string phoneNumber = 9;//联系电话
	optional int64 starTime = 10;//开始时间
	optional int64 endTime = 11;//结束时间
	optional string unionId = 12;//所属的公会ID
}

//获得我的托管订单:TrusteeshipResult.MyTrusteeshipList
message getMyTrusteeship {
	optional int32 status = 1;//状态
	optional int32 start = 2;//要获取列表的开始下标
	optional int32 end = 3;//要获取列表的结束下标
}

//获得托管给我的订单:TrusteeshipResult.TrusteeshipList
message getTrusteeship {
	optional int32 status = 1;//状态
	optional int32 start = 2;//要获取列表的开始下标
	optional int32 end = 3;//要获取列表的结束下标
}

//获得托管订单详细:TrusteeshipResult.TrusteeshipDetailVo
message getTrusteeshipInfo {
	optional string id = 1;//data ID
}

//更新托管订单状态
message updateTrusteeship {
	optional string id = 1;//data ID
	optional int32 status = 2;//状态 定义在ETrusteeshipState
}

//删除托管订单
message delTruteeship {
	optional string id = 1;//data ID
}

//评论订单
message commentTruteeship {
	optional string id = 1;//data ID
	optional int32 star = 2;//评星
	optional string comment = 3;//评论
	optional double payBlackBean = 5;//打赏的V币个数
}

//好友列表
message getFriendList {
	optional string gameId = 1;//游戏ID
}

//获得游戏公会成员
message getUnionMemberList {
	optional string unionId = 1;//公会ID
	optional string gameId = 2;//游戏ID
	optional int32 start = 3;//要获取列表的开始下标
	optional int32 end = 4;//要获取列表的结束下标
}
