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