Type Event Revision Release 2024.3703 Keywords steam, steamworks, userProgressUnload See also steamworks.addEventListener() steamworks.*
This event occurs when Steam has unloaded achievement and stat data of another user
You can receive these events by adding a listener to the plugin via the steamworks.addEventListener() function.
Steam will unload progression data of other users automatically. You cannot control this.
Steam will never unload the progression data of the currently logged in user.
local steamworks = require( "plugin.steamworks" ) -- Called when Steam has unloaded achievement/stat info of another user from memory local function onUserProgressUnloaded( event ) print( "Unloaded progression data from user ID: " .. event.userSteamId ) end -- Set up a listener to be invoked when Steam unloads achievement/stat info of another user steamworks.addEventListener( "userProgressUnload", onUserProgressUnloaded )