Skip to content

Module PlatformStatistics

Info

This module represents an internal API, and is not available for use in mods.

local PlatformStatistics = require "system.game.PlatformStatistics"

Functions

PlatformStatistics.isAvailable()

PlatformStatistics.isAchievementAutoUnlockEnabled()

PlatformStatistics.get(statID)

PlatformStatistics.set(statID, value)

PlatformStatistics.increase(statID, value)

PlatformStatistics.isAchieved(achievementID)

PlatformStatistics.achieve(achievementID)

PlatformStatistics.unachieve(achievementID)

PlatformStatistics.progress(achievementID, current, maximum)

PlatformStatistics.refresh()

PlatformStatistics.upload()