Alpha
The Alpha-Channel provides the interfaces of the Agones SDK that have not yet been extensively tested and have been deactivated by default. The provided endpoints can change drastically from one version to the next, and they may be removed at any time. But the provided endpoints can be used without any restrictions, but there may be some bugs, as the feature has not been used broadly. As soon as the features have been tested more and have proven to be useful to the Agones system, they will be promoted to the Beta-Channel. The Alpha-Channel can be retrieved through alpha from an instance of the Agones SDK.
Inheritors
Functions
Retrieves the unique identifiers of the current players associated with (and therefore connected to) this instance. The return value is guaranteed to match the value set within the SDK, even if the value was not yet synchronized with the Kubernetes resource.
Retrieves whether a player with a specific identifier is currently connected to this instance and is therefore present on the player list of this instance. The return value is guaranteed to match the value set within the SDK, even if the value was not yet synchronized with the Kubernetes resource.
Retrieves the current capacity for the number of players that can be connected to this instance simultaneously. Once this capacity is reached, no further players can be added to this instance. The return value is guaranteed to match the value set within the SDK, even if this value was not yet synchronized with the Kubernetes resource.
Sets a new capacity for the number of players that can be connected to this instance simultaneously. The limit will not be enforced retroactively. That means, if there are currently more players on this instance, than the new capacity would allow, no new players will be allowed to connect on this instance, but existing players will not be disconnected from this instance.
Adds a player with a specific unique identifier to the player list of this instance. This will increase the active player count and add the identifier to the Kubernetes resource eventually. The player will be guaranteed to be part of the player list of this instance, unless this instance is already full. The returned value is guaranteed to match the value set within the SDK, even if the value was not yet synchronized with the Kubernetes resource.
Retrieves the current number of players that are connected to this instance simultaneously. The return value is guaranteed to match the value set within the SDK, even if the value was not yet synchronized with the Kubernetes resource.
Removes a player with a specific unique identifier from the player list of this instance. This will decrease the active player count and remove the identifier from the Kubernetes resource eventually. The player will then no longer be part of this instance. The return value is guaranteed to match the value set within the SDK, even if the value was not yet synchronized with the Kubernetes resource.