|
ngl_server 1.0
基于 Actor 模型的 C++ 服务器框架
|
好友系统 Actor 实现 More...
#include "actor/actor_logic/actor_friends/actor_friends.h"#include "actor/actor_logic/actor_brief/actor_brief.h"好友系统 Actor 实现
管理游戏中的好友关系,支持添加、删除、批准好友请求等操作。 使用数据库组件 m_friends 进行好友数据持久化。
主要功能:
Actor 类型: ACTOR_FRIENDS(单例,广播模式) 权重: 0x7fffffff(最高优先级)