Class BundleAsset

java.lang.Object
mindustry.mod.data.DataAsset
mindustry.mod.data.BundleAsset
All Implemented Interfaces:
Comparable<DataAsset>

public class BundleAsset extends DataAsset
  • Field Details

    • cachedBundle

      @Nullable public arc.struct.OrderedMap<String,String> cachedBundle
  • Constructor Details

    • BundleAsset

      public BundleAsset()
  • Method Details

    • tryLoadCache

      public void tryLoadCache()
    • updateData

      public void updateData(byte[] data)
      Description copied from class: DataAsset
      Caches this asset in the asset folder, and updates its hash to correspond to the appropriate cache file.
      Overrides:
      updateData in class DataAsset
    • getType

      public DataAssetType getType()
      Specified by:
      getType in class DataAsset