gamecircle.Player

类型 表格
gamecircle.*
版本 发行版 2024.3703
关键字 玩家

概述

GameCircle SDK 的玩家数据表示,针对某些功能。

属性

示例

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