DLC
- DLC
-
Downloadable Content的简写,即可下载内容。
2. 通过索引获取DLC数据
greenworks.getDLCDataByIndex(index)
-
indexInteger: 该DLC的索引,其值的范围应该在 0 到greenworks.getDLCCount之间。
如果找不到索引匹配的DLC则返回 undefined,否则会返回一个对象,包含下面的内容:
-
appIdInteger: 该DLC的APPID。 -
availableBoolean: 该DLC当前是否可用的标志位。 -
nameString: 该DLC的名称。