修改为luban
This commit is contained in:
@@ -82,3 +82,19 @@ message G2Map_ExitRoomRequest // IAddressRequest,Map2G_ExiRoomResponse
|
||||
message Map2G_ExiRoomResponse // IAddressResponse
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
|
||||
////////////// ******** 聊天 *******/////////////
|
||||
|
||||
/// Chat通知Gate发送一个全服广播的聊天信息
|
||||
message Chat2G_ChatMessage // IAddressMessage
|
||||
{
|
||||
ChatInfoTree ChatInfoTree = 1;
|
||||
}
|
||||
/// 其他服务器发送聊天消息到Chat
|
||||
message Other2Chat_ChatMessage // IAddressMessage
|
||||
{
|
||||
ChatInfoTree ChatInfoTree = 1;
|
||||
}
|
||||
|
||||
|
||||
@@ -75,6 +75,79 @@ message S2C_MailState // ICustomRouteMessage,SocialRoute
|
||||
}
|
||||
|
||||
////////////// ******** 频道聊天 *******/////////////
|
||||
|
||||
/// 发送一个聊天消息给Chat服务器,中间是经过Gate中转的
|
||||
message C2Chat_SendMessageRequest // ICustomRouteRequest,Chat2C_SendMessageResponse,SocialRoute
|
||||
{
|
||||
ChatInfoTree ChatInfoTree = 1;
|
||||
}
|
||||
message Chat2C_SendMessageResponse // ICustomRouteResponse
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
// 该消息是Chat发送给Gate服务器,让Gate服务器自动转发到客户端
|
||||
message Chat2C_Message // ICustomRouteMessage,SocialRoute
|
||||
{
|
||||
ChatInfoTree ChatInfoTree = 1;
|
||||
}
|
||||
|
||||
/// 聊天消息树
|
||||
message ChatInfoTree
|
||||
{
|
||||
int32 ChatChannelType = 1; // 频道的类型
|
||||
int64 ChatChannelId = 2; // 频道的ID
|
||||
int64 UnitId = 3; // 发送人的UnitId
|
||||
string UserName = 4; // 发送人的名字
|
||||
repeated int64 Target = 5; // 接收聊天信息的目标数组
|
||||
repeated ChatInfoNode Node = 6; // 聊天节点
|
||||
}
|
||||
|
||||
/// 聊天信息节点
|
||||
message ChatInfoNode
|
||||
{
|
||||
int32 ChatNodeType = 1; // 节点类型(例如:超链接、普通的内容、表情...)
|
||||
int32 ChatNodeEvent = 2; // 节点分发事件的类型(例如:点击某个字打开某个UI或者执行某些操作)
|
||||
string Content = 3; // 信息内容
|
||||
string Color = 4; // 表示这个内容的颜色
|
||||
repeatedArray byte Data = 5; // 表示附加的一些数据
|
||||
}
|
||||
|
||||
/// 聊天位置信息节点
|
||||
message ChatPositionNode
|
||||
{
|
||||
string MapName = 1;
|
||||
float PosX = 2;
|
||||
float PosY = 3;
|
||||
float PosZ = 4;
|
||||
}
|
||||
|
||||
/// 聊天位置信息节点
|
||||
message ChatOpenUINode
|
||||
{
|
||||
string UIName = 1;
|
||||
}
|
||||
|
||||
/// 聊天连接信息节点
|
||||
message ChatLinkNode
|
||||
{
|
||||
string Link = 1;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
message ChatUserInfo
|
||||
{
|
||||
int64 Id = 1;//用户id
|
||||
|
||||
@@ -73,7 +73,7 @@ message ItemBindInfo
|
||||
///物品信息
|
||||
message ItemInfo
|
||||
{
|
||||
uint32 ConfigId = 1; //配置id
|
||||
int32 ConfigId = 1; //配置id
|
||||
int64 Id = 2; //物品id
|
||||
int32 Count = 3; //数量
|
||||
int64 ExpirationTime = 4; //失效时间
|
||||
@@ -83,9 +83,9 @@ message ItemInfo
|
||||
///商店物品信息
|
||||
message ShopItemInfo
|
||||
{
|
||||
uint32 ConfigId = 1; //商品配置id
|
||||
uint32 Price = 2; //价格
|
||||
uint32 Currency = 3; //货币类型
|
||||
int32 ConfigId = 1; //商品配置id
|
||||
uint32 Price1 = 2; //价格1
|
||||
uint32 Price2 = 3; //价格2
|
||||
uint32 Sort = 4; //排序
|
||||
uint32 Tag = 5; //特殊标签
|
||||
}
|
||||
@@ -93,7 +93,7 @@ message ShopItemInfo
|
||||
///fish信息
|
||||
message FishInfo
|
||||
{
|
||||
uint32 ConfigId = 1; //配置id
|
||||
int32 ConfigId = 1; //配置id
|
||||
int64 Id = 2; //物品id
|
||||
int32 Weight = 3; //重量
|
||||
int64 GetTime = 4; //获得时间
|
||||
@@ -112,7 +112,7 @@ message ActivityInfo
|
||||
///技能情况
|
||||
message SkillInfo
|
||||
{
|
||||
uint32 ConfigId = 1; //技能配置id
|
||||
int32 ConfigId = 1; //技能配置id
|
||||
int32 Level = 2; //技能等级
|
||||
int32 Exp = 3; //技能经验
|
||||
}
|
||||
Reference in New Issue
Block a user