syntax = "proto3";

option go_package = "./;rpc_proto";
package rpc_proto;

import "rpc_backpack.proto";

message Role
{
	string					roleid = 1;
	uint64					gender = 2;
	uint64					gender_encode = 3;
	bytes					nickname = 4;
	string					nickname_encode = 5;
	bytes					city = 6;
	string					city_encode = 7;
	string					birthday = 8;
	string					birthday_encode = 9;
	uint64					regis_time = 10;
	string					avatar = 11;
	string					avatar_domain = 12;
	uint32					version = 13;
}

message RpcRoleLoginReq
{
	
}

message RpcRoleLoginRsp
{
	Role							role = 1;
}

message RpcRoleUpdateBInfoReq
{
	Role					role = 1;
}

message RpcRoleUpdateBInfoRsp
{
	Role					role = 1;
}

message RpcRoleAddReq
{
	Role					role = 1;
}

message RpcRoleAddRsp
{
	Role					role = 1;
}

message RpcGetRoleColReq
{

}

message RpcGetRoleColRsp
{
	repeated Role			role_col = 1;
	string					last_login_role = 2;
}

message RpcAuthRoleSessionVerifyReq
{

}

message RpcAuthRoleSessionVerifyRsp
{
	repeated Role			role_col = 1;
	string					last_login_role = 2;
	BackPack				backpack = 3;
}