class BlueMapWrapper.Collection
Contains a MarkerCollection and PlayerCollection Object
Used when a simultaneous marker and player request is made
Attributes
a MarkerCollection Object
a PlayerCollection Object
class bluemap_wrapper.MarkerCollection
Contains a list of MarkerSet Objects
This class is also Iterable on its own
Attributes
A list of MarkerSet Objects
The amount of MarkerSet Objects in marker_sets
Methods
from_key(key)
Get a MarkerSet from marker_sets by its name
Parameters
- key (str): The name of the MarkerSet, a key from bluemap_wrapper.KEYS can be used, or a custom one can be entered
Returns:
Returns a Requested MarkerSet
Return Type:
Union[MarkerSet, None]
class bluemap_wrapper.PlayerCollection
Contains a list of Player Objects
This class is also Iterable on its own
Attributes
A list of Player Objects
The amount of Player Objects in players
Methods
is_foreign()
Get a list of players who have the foreign attribute (not in the world requested)
Returns:
A list of Player Objects that are foreign
Return Type:
list(Union[Player, None])
Get a list of players who do not have the foreign attribute (in the world requested)
A list of Player Objects that are not foreign
list(Union[Player, None])
Get a Player Object by uuid
a Player object with the requested UUID
Union[Player, None]
Get a Player Object from its Name
a Player object with the requested name
Union[Player, None]