修改为luban

This commit is contained in:
Bob.Song
2026-03-05 15:03:45 +08:00
parent 13e4315a70
commit 36067705f2
122 changed files with 10497 additions and 2216 deletions

View File

@@ -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