|
|
| ttab_specialid (const ttab_specialid &)=delete |
|
ttab_specialid & | operator= (const ttab_specialid &)=delete |
| void | reload () final |
| | 加载后回调
|
| void | tovalue (int32_t &apvalue, const char *astr) |
|
void | tovalue (std::string &apvalue, const char *astr) |
|
template<typename T> |
| bool | rvalue (const tab_specialid &atab, const char *akey, T &adata) |
|
template<std::size_t... INDEX, typename ... ARG> |
| bool | read_value (const tab_specialid &atab, std::index_sequence< INDEX... >, const std::array< const char *, sizeof...(ARG)> &akeys, ARG &... adatas) |
|
template<typename ... ARG> |
| bool | read_value (const tab_specialid &atab, const std::array< const char *, sizeof...(ARG)> &akeys, ARG &... adatas) |
|
| csv (const csv &)=delete |
|
csv & | operator= (const csv &)=delete |
| virtual void * | find (int aid) |
| | 无类型数据访问
|
| tab_specialid * | tab (int aid) |
| | 按ID查询记录
|
| std::map< int, tab_specialid > & | tabs () |
| | 获取所有表数据
|
| virtual const std::string & | verify () const |
| | 获取内容哈希
|
| virtual const char * | csvname () |
| | 获取逻辑表名
|
| virtual void | load () |
| | 加载CSV文件
|
| void | foreach (const std::function< void(tab_specialid &)> &afun) |
| | 遍历所有记录
|
| tab_specialid * | find_if (const std::function< bool(tab_specialid &)> &afun) |
| | 条件查询
|
|
|
static ttab_specialid & | instance () |
| static std::string | path () |
| | 获取CSV文件路径
|
| static tools::nhashcode | hash_code () |
| | 获取类型哈希码
|
| static const char * | name () |
| | 获取类型名称
|
| static std::string & | path () |
| | 获取CSV文件根路径
|
| static void | set_path (const std::string &apath) |
| | 设置CSV文件根路径
|
|
|
i32_rolelv | m_rolemaxlv = 0 |
|
i32_rolevip | m_rolemaxvip = 0 |
|
int32_t | m_createfamilconsume = 0 |
|
int32_t | m_familsignexp = 0 |
|
int32_t | m_familsigndrop = 0 |
|
int32_t | m_familapplylistcount = 0 |
|
int32_t | m_familjoininterval = 0 |
|
int32_t | m_friendsapplylistcount = 0 |
|
int32_t | m_friendscount = 0 |
|
int32_t | m_ranklistmaxcount = 0 |
|
int32_t | m_example_room_maxtime = 0 |
|
std::map< int32_t, int32_t > | m_example_totalnumber |
|
int32_t | m_example_room_readytime = 0 |
|
std::map< int, tab_specialid > | m_csv |
| | 表数据存储,key为ID
|
|
std::string | m_verify |
| | 内容MD5哈希
|
◆ reload()
| void ngl::ttab_specialid::reload |
( |
| ) |
|
|
inlinefinalvirtual |
◆ tovalue()
| void ngl::ttab_specialid::tovalue |
( |
int32_t & | apvalue, |
|
|
const char * | astr ) |
|
inline |
The documentation for this struct was generated from the following file: