Package mindustry.mod.data
Class BundleAsset
java.lang.Object
mindustry.mod.data.DataAsset
mindustry.mod.data.BundleAsset
- All Implemented Interfaces:
Comparable<DataAsset>
-
Field Summary
FieldsFields inherited from class mindustry.mod.data.DataAsset
byteHash, name, path, stringHash -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetType()voidvoidupdateData(byte[] data) Caches this asset in the asset folder, and updates its hash to correspond to the appropriate cache file.Methods inherited from class mindustry.mod.data.DataAsset
compareTo, getCacheFile, getCacheFileNoNull, getData, getFullPath, isAlwaysEmbedded, isCached, read, readFromZip, readOverride, setHash, setPath, toString, write
-
Field Details
-
cachedBundle
-
-
Constructor Details
-
BundleAsset
public BundleAsset()
-
-
Method Details
-
tryLoadCache
public void tryLoadCache() -
updateData
public void updateData(byte[] data) Description copied from class:DataAssetCaches this asset in the asset folder, and updates its hash to correspond to the appropriate cache file.- Overrides:
updateDatain classDataAsset
-
getType
-