getDLCAssetsUsage: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Game version" to "|Game version=")
m (Text replacement - "<br />" to "<br>")
Line 12: Line 12:
| [[getDLCAssetsUsage]] |SYNTAX=
| [[getDLCAssetsUsage]] |SYNTAX=


| [[Array]] - array of DLC usage informations, containing DLC items in format:<br />
| [[Array]] - array of DLC usage informations, containing DLC items in format:<br>
<nowiki>[</nowiki>[name, dlcAppId, sessionTime, totalTime], [name, dlcAppId, sessionTime, totalTime], (…)]<br />
<nowiki>[</nowiki>[name, dlcAppId, sessionTime, totalTime], [name, dlcAppId, sessionTime, totalTime], (…)]<br>
'''NOTE:''' unused assets won't appear in the result (usage time {{=}} 0). |RETURNVALUE=
'''NOTE:''' unused assets won't appear in the result (usage time {{=}} 0). |RETURNVALUE=



Revision as of 12:35, 19 March 2020

Hover & click on the images for description

Description

Description:
Returns an array of the DLC usage times.
Groups:
Uncategorised

Syntax

Syntax:
getDLCAssetsUsage
Return Value:
Array - array of DLC usage informations, containing DLC items in format:
[[name, dlcAppId, sessionTime, totalTime], [name, dlcAppId, sessionTime, totalTime], (…)]
NOTE: unused assets won't appear in the result (usage time = 0).

Examples

Example 1:
_dlcAssetsUsageInfo = getDLCAssetsUsage;

Additional Information

See also:
getDLCsgetObjectDLCgetDLCAssetsUsageByNamegetPersonUsedDLCsgetMissionDLCs

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section