gamecircle.Player

Type Table
Library gamecircle.*
Revision Release 2022.3683
Keywords player

Overview

A representation of the player data returned by GameCircle SDK for some functions.

Properties

Example

local gamecircle = require("plugin.gamecircle")  
gamecircle.Init(true, false, true)  
function PlayerProfileCallback(returnValue)  
    if returnValue.isError == true then  
        print("Player Profile returned with error message: " .. returnValue.errorMessage)  
    else  
        print("Player Profile return with this info: " .. returnValue.player.alias .. "-" .. returnValue.player.id)  
    end  
end