Skip to main content

get_last_player_id

Function get_last_player_id 

Source
pub fn get_last_player_id() -> u16
Expand description

Get the last player ID currently connected to the server.

Every player receives a unique numerical index known as their player ID upon joining the
server.

Returns the player ID.