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

物品消耗管理类 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)

Detailed Description

物品消耗管理类

提供物品消耗的检查和使用功能


The documentation for this class was generated from the following files: