getList 获取库存货物列表
getList
类型: MethodDeclaration
所属类: Inventory
定义位置: actor.ts
描述
获取库存货物列表
参数 id: 货物文件ID
返回值:物品或装备列表
参数
| 参数名 | 类型 | 描述 | 默认值 | 
|---|---|---|---|
| id | string | - | - | 
返回值
类型: Array<Item \| Equipment> \| undefined
物品或装备列表
源代码
位置: 第 4274 行
public getList(id: string): Array<Item | Equipment> | undefined {
    return this.idMap[id]
  }
文档生成时间:2025/7/21 20:53:38