跳到主要内容

restoreInventory 恢复角色的库存引用

restoreInventory

类型: MethodDeclaration

所属类: Actor

定义位置: actor.ts

描述

恢复角色的库存引用

返回值

类型: void

源代码

位置: 第 1162 行

public restoreInventory(): void {
if (this.savedInventory) {
this.inventory = this.savedInventory;
delete this.savedInventory;
}
}

文档生成时间:2026/2/1 16:51:38