Type function Library gamecircle.* Return value None Revision Release 2022.3683 Keywords Leaderboard, Overlay
Will register a callback with the GameCircle system that will alert the lua code if/when the players sign-in status changes.
gamecircle.SetSignedInListener( callback )
Function. The callback function for events propegated by Whispersync.
Your callback function should have a single, boolean parameter. This parameter will be true when a new user signs in, and false when the current user signs out.
local gamecircle = require("plugin.gamecircle") gamecircle.Init(false, false, true) function SignedInCallback(result) if result then print("Player Signed In") else print("Player SIgned Out") end end gamecircle.SetSignedInListener(SignedInCallback)