For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /server-ui/classes/UIManager.md.

Class: UIManager

Beta

管理与玩家相关的 UI 表单,包括关闭所有打开的表单。

Manages UI forms for a player, including closing all open forms.

Methods

closeAllForms()

closeAllForms(player): void

World Mutation Beta

Parameters

player

Player

要关闭其所有表单的玩家。

The player whose forms should be closed.

Returns

void

Remarks

关闭指定玩家的所有已打开的表单。

Closes all open forms for the specified player.

Throws

This function can throw errors.