steamworks/ViewFile

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
(Created page with "{{Func |Name=ViewFile |Parent=steamworks |Description=Opens the workshop website for specified Steam Workshop addon in the Steam overlay browser. |Realm=Client |IsClass=N...")
 
m (Also menu state)
 
(One intermediate revision by one user not shown)
Line 2: Line 2:
 
|Name=ViewFile
 
|Name=ViewFile
 
|Parent=steamworks
 
|Parent=steamworks
|Description=Opens the workshop website for specified Steam Workshop addon in the Steam overlay browser.
+
|Description=Opens the workshop website for specified Steam Workshop item in the Steam overlay browser.
|Realm=Client
+
|Realm=Client and Menu
 
|IsClass=No
 
|IsClass=No
 
}}
 
}}
Line 12: Line 12:
 
}}
 
}}
 
{{Example
 
{{Example
| Description = Opens web page of Gm_construct_Beta Steam Workshop addon in Steam overlay browser.
+
|Description=Opens web page of Gm_construct_Beta Steam Workshop addon in Steam overlay browser.
| Code = steamworks.ViewFile( 21197 )
+
|Code=steamworks.ViewFile( 21197 )
| Output = N/A
+
 
}}
 
}}

Latest revision as of 03:40, 24 July 2016

 steamworks.ViewFile( )

Contents

Description

Opens the workshop website for specified Steam Workshop item in the Steam overlay browser.

Arguments

string workshopItemID

The ID of workshop item.

Examples

Example

Opens web page of Gm_construct_Beta Steam Workshop addon in Steam overlay browser.

steamworks.ViewFile( 21197 )


Personal tools
Navigation