跳到主要内容

getList 获取库存货物列表

getList

类型: MethodDeclaration

所属类: Inventory

定义位置: actor.ts

描述

获取库存货物列表

参数 id: 货物文件ID

返回值:物品或装备列表

参数

参数名类型描述默认值
idstring--

返回值

类型: Array<Item \| Equipment> \| undefined

物品或装备列表

源代码

位置: 第 4274 行

public getList(id: string): Array<Item | Equipment> | undefined {
return this.idMap[id]
}

文档生成时间:2025/7/7 12:07:06