How to use the steamcommunity.PrivacyState function in steamcommunity

To help you get started, we’ve selected a few steamcommunity examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Nicklason / tf2-automatic / app / client.js View on Github external
manager.setCookies(cookies, function (err) {
        if (err) {
            utils.fatal(log, 'This account is limited, you can\'t use it for trading.');
        }

        if (!started) {
            started = true;
            initializePackages();
            community.profileSettings({
                inventory: SteamCommunity.PrivacyState.Public,
                gameDetails: SteamCommunity.PrivacyState.Public
            });
        }

        Friends.getLimit(function (err) {
            if (err) {
                log.debug(err);
            }
        });
    });
}
github Nicklason / tf2-automatic / app / client.js View on Github external
manager.setCookies(cookies, function (err) {
        if (err) {
            utils.fatal(log, 'This account is limited, you can\'t use it for trading.');
        }

        if (!started) {
            started = true;
            initializePackages();
            community.profileSettings({
                inventory: SteamCommunity.PrivacyState.Public,
                gameDetails: SteamCommunity.PrivacyState.Public
            });
        }

        Friends.getLimit(function (err) {
            if (err) {
                log.debug(err);
            }
        });
    });
}

steamcommunity

Provides an interface for logging into and interacting with the Steam Community website

MIT
Latest version published 3 months ago

Package Health Score

66 / 100
Full package analysis

Popular steamcommunity functions