新增角色相关信息
This commit is contained in:
19
Config/NetworkProtocol/Outer/OuterCommon.proto
Normal file
19
Config/NetworkProtocol/Outer/OuterCommon.proto
Normal file
@@ -0,0 +1,19 @@
|
||||
syntax = "proto3";
|
||||
package Fantasy.Network.Message;
|
||||
|
||||
/// GameAccount实体类
|
||||
message RoleBaseInfo
|
||||
{
|
||||
string NickName = 1;//昵称
|
||||
string Head = 2;//头像
|
||||
string Country = 3;//国家
|
||||
int32 Level = 4;//等级
|
||||
int32 Exp = 5;//当前等级
|
||||
}
|
||||
|
||||
///角色信息
|
||||
message RoleInfo
|
||||
{
|
||||
RoleBaseInfo BaseInfo = 1;
|
||||
int64 RoleId = 2; //账号id
|
||||
}
|
||||
@@ -37,12 +37,15 @@ message GameAccountInfo
|
||||
int64 CreateTime = 1;
|
||||
int64 LoginTime = 2;
|
||||
}
|
||||
/// 拿到当前账号的信息
|
||||
message C2G_GetAccountInfoRequest // IRequest,G2C_GetAccountInfoResponse
|
||||
|
||||
|
||||
message C2Game_GetRoleInfoRequest // ICustomRouteRequest,Game2C_GetRoleInfoResponse,GameRoute
|
||||
{
|
||||
|
||||
}
|
||||
message G2C_GetAccountInfoResponse // IResponse
|
||||
|
||||
message Game2C_GetRoleInfoResponse // ICustomRouteResponse
|
||||
{
|
||||
GameAccountInfo GameAccountInfo = 1;
|
||||
string Name;
|
||||
string RoleId;
|
||||
}
|
||||
Reference in New Issue
Block a user