The split screen slot of the joining player or undefined if
the player is not in a split screen session.
方法
allowJoin
allowJoin():void
返回 void
备注
Call this to explicitly allow the player to join the server.
This is useful when player joining is disabled
(allow-player-joining is set to false when playing on
dedicated server).
Deprecated - use
AsyncPlayerJoinBeforeEvent.disallowJoin instead.
Call this to disconnect a player. They will be allowed to
try to join again. They will be allowed to try to join again
after being disconnected.
The data available before a player joins the world.