跳到主要内容

reference 恢复库存引用

reference

类型: MethodDeclaration

所属类: Inventory

定义位置: actor.ts

描述

恢复库存引用

返回值

类型: void

源代码

位置: 第 4662 行

public static reference(): void {
for (const {actor, ref} of this.references) {
const target = ActorManager.get(ref)
if (target instanceof GlobalActor) {
actor.useInventory(target.inventory)
}
}
}

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