Downloadable Content Object
Like what your seeing?
Support us as a GitHub Sponsor and get instant access to all our assets, exclusive tools and assets, escalated support and issue tracking and our gratitude. These articles are made possible by our GitHub Sponsors ... become a sponsor today!
Introduction
The Downloadable Content Object is a scriptable object created by the Steam Settings when you import DLC. This can be used to check if the local user owns a given DLC and to perfrom common actions against that DLC.
Definition
public class DownloadableContentObject : ScriptableObject
Represents a DLC object, this is created by the Steam Settings object when you import DLC data for your app. To learn more see the Steam Settings object documentation.
Fields and Attributes
AppId_t
appId
The room this message relates to
bool
IsSubscribed
Indicates rather or not the DLC is currently owned
bool
IsInstalled
Indicated rather or not the DLC is installed
Methods
Get Install Directory
public string GetInstallDirectory();
Returns the intall location of the DLC
Get Download Progress
public float GetDownloadProgress();
Returns the download progress if known as a value between 0 and 1
Get Earliest Purchase Time
public DateTime GetEarliestPurchaseTime();
Gets the time of purchase if known
Install content
public void Install();
Starts the process of installing the DLC
Uninstall content
public void Uninstall();
Starts the process of uninstalling the DLC
Open Store
public void OpenStore(flag);
Opens the Steam Overlay to the Store for this DLC item
Last updated