getDLCAssetsUsage: Difference between revisions
Jump to navigation
Jump to search
m (added category) |
m (template:command argument fix) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Returns an array of the DLC usage times. |= | | Returns an array of the DLC usage times. |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[getDLCAssetsUsage]] |= | | [[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). |= | '''NOTE:''' unused assets won't appear in the result (usage time {{=}} 0). |RETURNVALUE= | ||
|x1= <code>_dlcAssetsUsageInfo = [[getDLCAssetsUsage]];</code>|= | |x1= <code>_dlcAssetsUsageInfo = [[getDLCAssetsUsage]];</code>|EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[getDLCs]], [[getObjectDLC]], [[getDLCAssetsUsageByName]], [[getPersonUsedDLCs]], [[getMissionDLCs]] |= | | [[getDLCs]], [[getObjectDLC]], [[getDLCAssetsUsageByName]], [[getPersonUsedDLCs]], [[getMissionDLCs]] |SEEALSO= | ||
| |= MP behaviour | | |= MP behaviour |
Revision as of 14:40, 7 April 2019
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
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