Namespace: player
Classes
Interfaces
Type Aliases
PlayerType
Ƭ PlayerType: "HOST"
| "STANDARD"
Functions
getGlobalPlayerId
▸ getGlobalPlayerId(platformSpecificId
): GlobalPlayerId
Create a GlobalPlayerId
from a platform specific player ID.
Parameters
Name | Type | Description |
---|---|---|
platformSpecificId |
string |
Platform specific player ID |
Returns
GlobalPlayerId
getPlayerType
▸ getPlayerType(platformSpecificRole
): PlayerType
| null
Parameters
Name | Type |
---|---|
platformSpecificRole |
string |
Returns
PlayerType
| null