steamworks.FileInfo

From Garry's Mod
Jump to: navigation, search
 steamworks.FileInfo( )

Contents

Description

Retrieves info about supplied Steam Workshop addon.

Arguments

string workshopItemID

The ID of Steam Workshop item.

Arguments

function resultCallback

The function to process retrieved data, with the following arguments:

Examples

Example

Retries all info of gm_construct_Beta Steam Workshop addon.

steamworks.FileInfo( 21197, function( result ) PrintTable( result ) end)

Output:

created = 1333727232
description = "removed, too long"
tags = fun, water, map, build
id = 21197
owner = 76561198017133973
previewsize = 213278
previewid = 559813303754221947
updated = 1347588992
ownername = HighVoltage
title = Gm_construct_Beta
disabled = false
installed = true
banned = false
size = 12060498
fileid = 596981587425748684
Personal tools
Navigation