Methods
startCharacterSelection(xPlayer: Server.XPlayer)
Modifier: static
Starts the character selection process for the given player. This is where you should e.g. fade out the screen, set the players coords, and display the character selection UI.
Parameters:
- xPlayer (Server.XPlayer): The player for whom to start character selection.
startCreateNewCharacter(xPlayer: Server.XPlayer)
Modifier: static
This function should start the creation of a new character. This is where you should e.g. fade out the screen, set the players coords, and display the character creation UI.
Parameters:
- xPlayer (Server.XPlayer): The player for whom to start character creation.
onCharacterLoaded(xPlayer: Server.XPlayer, xCharacter: Server.XCharacter)
Modifier: static
This function should usually be overwritten by the installed character spawn system (external resource).