ngl_server 1.0
基于 Actor 模型的 C++ 服务器框架
actor_friends.cpp File Reference

好友系统 Actor 实现 More...

Detailed Description

好友系统 Actor 实现

管理游戏中的好友关系,支持添加、删除、批准好友请求等操作。 使用数据库组件 m_friends 进行好友数据持久化。

主要功能:

  • 发送好友申请、批准/拒绝申请
  • 删除好友、查询好友列表
  • 支持玩家登录/下线事件通知

Actor 类型: ACTOR_FRIENDS(单例,广播模式) 权重: 0x7fffffff(最高优先级)