# Function: getCustomConfTables
▸ getCustomConfTables(params?
: GetCustomConfTablesParams): Promise‹keyof CustomConfTable<Readonly<Record<string, unknown>>>[]›
获取自定义配置表列表
example
import { utilsSystem } from '@timi/mogs-sdk';
//...
const customConfTables = await utilsSystem.getCustomConfTables();
1
2
3
4
2
3
4
deprecated
该接口无法支持游戏侧自定义类型,已废弃,请搭配 getCustomConfTableNames 和 getCustomConfTableByName 达到同样的效果。
throws
{@link MogsError}
# 参数:
属性 | 类型 |
---|---|
params? | GetCustomConfTablesParams |
GetCustomConfTablesParams
属性 | 类型 | 描述 |
---|---|---|
complete? | Method | 操作完成时(成功或失败),均会调用该回调函数 |
fail? | Method | 操作失败时,调用该回调函数 |
success? | Method | 操作成功时,调用该回调函数 |
# 返回值:
Promise‹keyof CustomConfTable<Readonly<Record<string, unknown>>>[]›
自定义配置表列表