Type Number Revision 2017.3060 Keywords steam, steamworks, getUserInfo, UserInfo, steamLevel See also steamworks.getUserInfo() steamworks.*
An integer indicating a user's current level on Steam as seen under their profile screen. This Level number starts at 1 and increases when the user purchases games, trades Steam cards, crafts Steam badges, etc.
local steamworks = require( "plugin.steamworks" )
-- Print the currently logged in user's current steam level
local userInfo = steamworks.getUserInfo()
if ( userInfo ) then
print( "User's Steam Level: " .. tostring( userInfo.steamLevel ) )
end