Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions.
See the stable version of this documentation page instead.
Team🔗
Hérite: RefCounted
This class defines a Team.
Propriétés🔗
|
||
|
Méthodes🔗
void |
_init(team_name: String, team_players: Dictionary = {}) |
_iter_init(_arg: Variant) |
|
_iter_next(_arg: Variant) |
|
void |
|
size() |
|
Signaux🔗
Emitted when the Team is renamed.
player_added(team_name: String, peer_id: int, username: String) 🔗
Emitted when a peer_id is added to the Team.
player_erased(team_name: String, peer_id: int) 🔗
Emitted when a peer_id is erased from the Team.
Descriptions de propriété🔗
void @name_setter(value: String)
There is currently no description for this property. Please help us by contributing one!
Dictionary players = {} 🔗
There is currently no description for this property. Please help us by contributing one!
There is currently no description for this property. Please help us by contributing one!
Descriptions de méthode🔗
void _init(team_name: String, team_players: Dictionary = {}) 🔗
Constructor.
bool _iter_init(_arg: Variant) 🔗
There is currently no description for this method. Please help us by contributing one!
bool _iter_next(_arg: Variant) 🔗
There is currently no description for this method. Please help us by contributing one!
int _iter_get(_arg: Variant) 🔗
There is currently no description for this method. Please help us by contributing one!
void add(peer_id: int, username: String = "") 🔗
Add peer_id to the Team if not already present.
Erase peer_id from the Team.
This method pops out the related peer_id string.
Returns the size of the team.
There is currently no description for this method. Please help us by contributing one!
There is currently no description for this method. Please help us by contributing one!