steamworks.appId

Type String
Revision Current Public Release (2018.3326)
Keywords steam, steamworks, appId
See also steamworks.*

Overview

Fetches the unique string ID assigned to the application by Steam.

Gotchas

This property will be nil if a valid appId was not set in config.lua as documented here.

Example

local steamworks = require( "plugin.steamworks" )

print( "Steam App ID: " .. tostring(steamworks.appId) )