自动物品管理类
More...
#include <autoitem.h>
|
|
void | add (int32_t atid, int32_t acount) |
| | 按模板ID添加可叠加物品
|
|
void | add (int32_t aid) |
| | 按物品ID添加不可叠加物品
|
|
void | del (int32_t aid, int32_t acount) |
| | 按物品ID删除可叠加物品
|
|
void | del (int32_t aid) |
| | 按物品ID删除不可叠加物品
|
|
const std::map< int32_t, int32_t > & | delstackitems () |
| | 获取删除的可叠加物品映射
|
|
const std::list< int32_t > & | delnostackitems () |
| | 获取删除的不可叠加物品列表
|
|
const std::map< int32_t, int32_t > & | addstackitems () |
| | 获取添加的可叠加物品映射
|
|
const std::list< int32_t > & | addnostackitems () |
| | 获取添加的不可叠加物品列表
|
|
bool | empty () |
| | 检查是否无变更
|
|
void | clear () |
| | 清除所有变更记录
|
自动物品管理类
跟踪背包物品变更,支持批量添加和删除操作
The documentation for this class was generated from the following files:
- E:/GitHub/ngl_server/public/cpp/actor/actor_logic/actor_role/logic/bag/autoitem.h
- E:/GitHub/ngl_server/public/cpp/actor/actor_logic/actor_role/logic/bag/autoitem.cpp