|
ngl_server 1.0
基于 Actor 模型的 C++ 服务器框架
|
物品消耗管理类 More...
#include <consume.h>
Static Public Member Functions | |
| static bool | get (int atid, int acount, std::map< int32_t, int32_t > &amap) |
| static bool | check (actor_role *arole, std::map< int32_t, int32_t > &amap) |
| static bool | check (actor_role *arole, int atid, int acount) |
| static bool | use (actor_role *arole, int atid, int acount) |
物品消耗管理类
提供物品消耗的检查和使用功能