ngl_server 1.0
基于 Actor 模型的 C++ 服务器框架
ngl::chat Struct Reference

聊天消息结构体。 More...

#include <nprotocol.h>

Public Attributes

int m_id = -1
 聊天频道ID,标识聊天类型(世界、公会、私聊等)
i64_actorid m_roleid = -1
 发送者角色ID
std::string m_rolename
 发送者角色名称
std::string m_content
 聊天内容
int m_utc = -1
 消息发送的UTC时间戳

Detailed Description

聊天消息结构体。

用于存储和传输聊天消息,支持世界聊天、公会聊天、私聊等多种聊天类型。


The documentation for this struct was generated from the following file: