Skip to main content

deleteGlobalActor 删除全局角色

deleteGlobalActor

类型: MethodDeclaration

所属类: CommandFunctionList

定义位置: command.ts

描述

删除全局角色

参数

参数名类型描述默认值
\{ actorId, \}`{
	actorId: string;
}` | - | - |

返回值

类型: CommandFunction

源代码

位置: 第 7424 行

protected deleteGlobalActor({
actorId,
}: {
actorId: string;
}): CommandFunction {
return () => {
ActorManager.delete(actorId);
return true;
};
}

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