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

物品发送请求结构体。 More...

#include <nprotocol.h>

Public Attributes

std::string m_src
 物品来源描述,如 "任务奖励"、"商城购买" 等
std::map< int32_t, int32_t > m_item
 物品列表,key为物品配置ID,value为物品数量

Detailed Description

物品发送请求结构体。

用于向玩家角色发送物品,包含物品来源和物品列表。 支持批量发送多种物品。


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