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๐
Inherits: RefCounted
This class defines a Team.
Properties๐
|
||
|
Methoden๐
void |
_init(team_name: String, team_players: Dictionary = {}) |
_iter_init(_arg: Variant) |
|
_iter_next(_arg: Variant) |
|
void |
|
size() |
|
Signals๐
renamed(team_name: String) ๐
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.
Eigenschaftsbeschreibungen๐
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!
Methodenbeschreibungen๐
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!