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

玩家角色登录通知结构体。 More...

#include <nprotocol.h>

Public Attributes

std::string m_session
 登录会话标识符
i64_accountid m_accountid = 0
 账号ID
std::string m_account
 账号名称
i64_actorid m_roleid = 0
 角色ID
i32_serverid m_gameid = 0
 游戏服务器ID
i32_serverid m_gatewayid = 0
 网关服务器ID
i16_area m_area = 0
 游戏区域ID
bool m_iscreate = false
 是否为新创建的角色
i32_socket m_socketid = 0
 客户端套接字ID
i64_actorid m_request_actor = 0
 发起登录请求的Actor ID

Detailed Description

玩家角色登录通知结构体。

从登录服务器发送到游戏服务器或网关服务器,通知玩家账号已通过验证。 包含玩家会话信息、账号信息、角色信息以及登录相关的服务器信息。


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