Namespace: Steamworks

Lua
C++
Edit

AppInstalled

This function checks to see if an application is installed.

Syntax

Parameter Description
appid the Steam app ID to check

Returns

Returns true if the specified application is installed and ready to run, otherwise false is returned.

See the Steamworks documentation for additional information about autnentication and ownership of games.

Example

#include "UltraEngine.h"
#include "Steamworks/Steamworks.h"

using namespace UltraEngine;

int main(int argc, const char* argv[])
{
    if (not Steamworks::Initialize())
    {
        RuntimeError("Steamworks failed to initialize.");
        return 1;
    }

    auto appid = Steamworks::GetAppId();
    Print("App subscribed: " + String(Steamworks::AppSubscribed(appid)));
    Print("App installed: " + String(Steamworks::AppInstalled(appid)));

    Steamworks::Shutdown();
    return 0;
}
Copyright © 2006-2025 Ultra Software.
All rights reserved.
Leadwerks 4 Documentation