java.lang.Object
com.github.darksoulq.abyssallib.server.resource.asset.RawAsset
All Implemented Interfaces:
Asset

public class RawAsset extends Object implements Asset
  • Constructor Details

    • RawAsset

      public RawAsset(String namespace, String path, byte[] data)
  • Method Details

    • emit

      public void emit(@NotNull @NotNull Map<String,byte[]> files)
      Description copied from interface: Asset
      Emits the asset's files into the provided output map.
      Specified by:
      emit in interface Asset
      Parameters:
      files - the output map where keys are file paths and values are file contents