Implemented in com.para.services
Property
| isAutoRespawn | Indicates whether players will respawn automatically. |
Description
ParaPlayer service, which is used to manage and get the objects of ParaPlayer. Tag management of ParaPlayer is supported.
Static Methods
| ClearAllPlayersTag | Clears all tags from the player. All tags will be cleared if the parameter is empty; this parameter of all players will be cleared if the parameter is null. |
| GetLocalPlayer | Returns the local player controlled by the current character. |
| GetPlayer | If it exists, the ParaPlayer object associated with the GameObject will be returned; otherwise, null will be returned. |
| GetPlayerById | If the tag exists, the ParaPlayer objects of the specified player ID will be returned; otherwise, "null" will be returned. |
| GetPlayerCount | Returns the actual player count in the current world. |
| GetPlayers | Returns the actual player list in the current world. |
| GetPlayersWithTag | Returns all players with a specified tag that matches the tag value. The tag can be empty, which indicates returning all players. |
| GetMaxPlayerCount | Returns the maximum number of players in the current world. |
| OnMasterChange | When the Master changes, the value of the parameter becomes the new Master. |
| GetPlayerByUID | Gets the ParaPlayer object corresponding to a specified UID. |
| GetMaster | Get Logic Room Master. |
