question

littlebuddha87 avatar image
littlebuddha87 asked

Hidden player

Our app got an issue ticket regarding the hidden state of a Game Circle player. No information on this behaviour in the docs, nor the forums. The java SDK reference also does not include any traces of related interfaces. So my question is: How to determine if the user is hidden or not. GC.IsInitialized and GC.IsLoggedIn are true while the user is logged in, even in hidden state. Does the player object simply stay null?
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

littlebuddha87 avatar image
littlebuddha87 answered
The answer is simple. Due to the alias name rule of having at least 8 characters, all names with less, are somehow used by internal states. Similar to a guest login (alias = "Guest" loggedIn = false) the hidden login uses alias = "Hidden" loggedIn = true.
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.