Skip to content

Commit

Permalink
Issue #1854: Fix getplayercount() description on index (#1912)
Browse files Browse the repository at this point in the history
* Fix Getplayercount discription to match the rest api

* Update Guides/ClientSDKS/index GetPlayerCount() add alert back in

Co-authored-by: Mark Mandel <[email protected]>
  • Loading branch information
NomadicBits and markmandel authored Dec 2, 2020
1 parent 2e6c7bd commit 8cf7442
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions site/content/en/docs/Guides/Client SDKs/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -258,9 +258,9 @@ If `GameServer.Status.Players.Capacity` is set manually through the Kubernetes A

#### Alpha().GetPlayerCount()

This function returns if the playerID is currently connected to the GameServer.
This is always accurate from what has been set through this SDK,
even if the value has yet to be updated on the GameServer status resource.
This function retrieves the current player count.
This is always accurate from what has been set through this SDK, even if the value has yet to be updated on the
GameServer status resource.

{{< alert title="Note" color="info">}}
If `GameServer.Status.Players.IDs` is set manually through the Kubernetes API, use SDK.GameServer()
Expand Down

0 comments on commit 8cf7442

Please sign in to comment.