Documentation

AppBuild
in package

FinalYes

Builds Steam app build VDF files for SteamCMD uploads.

Tags
author

Daniel Schulz

since
2022-08-05

Table of Contents

Constants

SUPPORTED_ENCODINGS  : mixed = ['UTF-8', 'Windows-1252', 'ISO-8859-1']

Methods

__construct()  : mixed
Creates an app build with the Steam app ID, description, content root, and build output path.
__toString()  : string
addDepot()  : void
Adds a depot file mapping to this app build.
setLive()  : void
Marks the uploaded build live on the given Steam branch.

Constants

SUPPORTED_ENCODINGS

public mixed SUPPORTED_ENCODINGS = ['UTF-8', 'Windows-1252', 'ISO-8859-1']

Methods

__construct()

Creates an app build with the Steam app ID, description, content root, and build output path.

public __construct(string $appId, string $description, string $contentPath, string $buildPath) : mixed
Parameters
$appId : string
$description : string
$contentPath : string
$buildPath : string

__toString()

public __toString() : string
Return values
string

addDepot()

Adds a depot file mapping to this app build.

public addDepot(string $depotId[, string $localPath = '*' ][, string $depotPath = '.' ][, string $recursive = '1' ]) : void
Parameters
$depotId : string
$localPath : string = '*'
$depotPath : string = '.'
$recursive : string = '1'

setLive()

Marks the uploaded build live on the given Steam branch.

public setLive(string $branch) : void
Parameters
$branch : string
On this page

Search results