对话框参数,可以是 GameInputDialogParams、GameTextDialogParams 或 GameSelectDialogParams 中的一种。
The dialog parameters, which can be one of GameInputDialogParams, GameTextDialogParams, or GameSelectDialogParams.
如果参数类型为 GameSelectDialogParams,则返回 GameDialogSelectResponse 或 null 的 Promise;否则,返回 string 或 null 的 Promise。
If the parameter type is GameSelectDialogParams, it returns a Promise of GameDialogSelectResponse or null; otherwise, it returns a Promise of string or null.
对话框参数,可以是 GameInputDialogParams、GameTextDialogParams 或 GameSelectDialogParams 中的一种。
The dialog parameters, which can be one of GameInputDialogParams, GameTextDialogParams, or GameSelectDialogParams.
如果参数类型为 GameSelectDialogParams,则返回 GameDialogSelectResponse 或 null 的 Promise;否则,返回 string 或 null 的 Promise。
If the parameter type is GameSelectDialogParams, it returns a Promise of GameDialogSelectResponse or null; otherwise, it returns a Promise of string or null.
对话框参数,可以是 GameInputDialogParams、GameTextDialogParams 或 GameSelectDialogParams 中的一种。
The dialog parameters, which can be one of GameInputDialogParams, GameTextDialogParams, or GameSelectDialogParams.
如果参数类型为 GameSelectDialogParams,则返回 GameDialogSelectResponse 或 null 的 Promise;否则,返回 string 或 null 的 Promise。
If the parameter type is GameSelectDialogParams, it returns a Promise of GameDialogSelectResponse or null; otherwise, it returns a Promise of string or null.
对话框参数,可以是 GameInputDialogParams、GameTextDialogParams 或 GameSelectDialogParams 中的一种。
The dialog parameters, which can be one of GameInputDialogParams, GameTextDialogParams, or GameSelectDialogParams.
如果参数类型为 GameSelectDialogParams,则返回 GameDialogSelectResponse 或 null 的 Promise;否则,返回 string 或 null 的 Promise。
If the parameter type is GameSelectDialogParams, it returns a Promise of GameDialogSelectResponse or null; otherwise, it returns a Promise of string or null.
Zh
玩家对应于连接到游戏的用户。每个玩家对象代表一个已连接的用户,可以包含玩家的详细信息,如用户名、得分、角色等。
En
A player corresponds to a user connected to the game. Each player object represents a connected user and can contain detailed information such as username, score, character, etc.