API 参考actor 模块restoreInventory 恢复角色的库存引用本页总览restoreInventory 恢复角色的库存引用restoreInventory 类型: MethodDeclaration 所属类: Actor 定义位置: actor.ts 描述 恢复角色的库存引用 返回值 类型: void 源代码 位置: 第 1069 行 public restoreInventory(): void { if (this.savedInventory) { this.inventory = this.savedInventory delete this.savedInventory } } 文档生成时间:2025/7/7 12:07:06