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

会话连接关闭通知结构体。 More...

#include <nprotocol.h>

Public Attributes

i32_sessionid m_sessionid = 0
 关闭的会话ID

Detailed Description

会话连接关闭通知结构体。

当网络会话关闭时发送,通知相关Actor进行清理工作。 用于处理玩家掉线、服务器重启等场景。


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