I am so tired / But I can't turn this thing off / So I stay awake
5
   
奖励
收藏
已收藏
取消收藏
下载
"console.log('requesting inventory...');
account.community.httpRequestGet({
"uri": 'https://psteamcommunity.yuanyoumao.com/id/Triumphofdegeneration/inventory/json/753/6',
"json": true,
"form": {
"l": 'english', // Default language
"count": 5000, // Max items per 'page'
"start_assetid": start
}
}, (err, response, body) => {
if (err) {
return console.error('inventory request failure!');
}
if (!body.success) {
return console.error('inventory data failure!');
}
var items = [];
Object.keys(body.rgInventory).map((key, index) => {
items[index] = body.rgInventory[key];
});
Object.keys(body.rgDescriptions).map((key, index) => {
for (var j = 0; j < items.length; j++) {
if (body.rgDescriptions[key].classid == items[j].classid) {
body.rgDescriptions[key].id = items[j].id;
}
}
if (body.rgDescriptions[key].tags[2].name == "Profile Background") {
backgrounds1.push(body.rgDescriptions[key]);
}
});
console.log('total backgrounds: ' + backgrounds1.length);
});"
3 条留言
john wick dies at the end 2020 年 6 月 13 日 下午 9:56 
Does this try pull my inventory? Where'd you get this code
Kungfubojar 2019 年 7 月 28 日 上午 1:49 
Like it
Bruno Makihara 2018 年 1 月 10 日 下午 3:13 
:good: