コード例 #1
0
	offer.accept(function(err) {
		if (err) {
			console.log("Unable to accept offer: " + err.message);
		} else {
			community.checkConfirmations(); // Check for confirmations right after accepting the offer
			console.log("Offer accepted");
		}
	});
コード例 #2
0
ファイル: index.js プロジェクト: jacobtruman/nodejs_steambot
		community_login(function() {
			myLog.info("Starting comfirmation polling");
			community.startConfirmationChecker(10000, account_config.steam_guard.identity_secret);
			myLog.info("Checking confirmations");
			community.checkConfirmations();
		});
コード例 #3
0
ファイル: index.js プロジェクト: jacobtruman/nodejs_steambot
	processOffer(offer, function(passed) {
		if(passed) {
			community.checkConfirmations();
		}
	});