Skip to content

0.7.2

Compare
Choose a tag to compare
@aglitchman aglitchman released this 28 Mar 14:24
· 44 commits to master since this release

The release adds a function to get player's personal info. Use it to check the auth mode:

yagames.player_init({scopes = false, signed = true}, function(self, err)
    if not err then
        local personal_info = yagames.player_get_personal_info()
        if personal_info.mode == "lite" then
            -- do something!
        end
    end
end)