Team🔗
Inherits: RefCounted
This class defines a Team.
Propiedades🔗
|
||
|
Métodos🔗
void |
_init(team_name: String, team_players: Dictionary = {}) |
_iter_init(_arg: Variant) |
|
_iter_next(_arg: Variant) |
|
void |
|
size() |
|
Signals🔗
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.
Property Descriptions🔗
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!
Method Descriptions🔗
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!