res://addons/w4gd/game_server/game_server_sdk.gd:W4Player

Inherits: RefCounted

Represents a player connected to the dedicated server.

Properties

Dictionary

info

int

peer_id

String

player_id

Methods

Dictionary

get_info ( )

int

get_peer_id ( )

String

get_player_id ( )


Property Descriptions

Dictionary info

Arbitrary info which was sent when the player registered with the dedicated server.


int peer_id

The players peer id.


String player_id

The UUID of the player's user in the database.


Method Descriptions

Dictionary get_info ( )

Gets the arbitrary info which was sent when the player registered with the dedicated server.


int get_peer_id ( )

Gets the player's peer id.


String get_player_id ( )

Gets the UUID of the player's user in the database.