Interface DataSource

All Known Implementing Classes:
StandardDataSource

public interface DataSource
  • Method Details

    • start

      void start()
    • shutdown

      void shutdown()
    • getAssetTree

      AssetTree getAssetTree()
    • loadAssetTree

      AssetTree loadAssetTree(Collection<AssetTypeHandler> assetTypes)
    • doesDirectoryExist

      boolean doesDirectoryExist(Path folderPath)
    • createDirectory

      boolean createDirectory(Path dirtPath, EditorClient editorClient)
    • deleteDirectory

      boolean deleteDirectory(Path dirPath)
    • moveDirectory

      boolean moveDirectory(Path oldDirPath, Path newDirPath)
    • doesAssetExist

      boolean doesAssetExist(Path assetPath)
    • getAssetBytes

      byte[] getAssetBytes(Path assetPath)
    • updateAsset

      boolean updateAsset(Path assetPath, byte[] bytes, EditorClient editorClient)
    • createAsset

      boolean createAsset(Path assetPath, byte[] bytes, EditorClient editorClient)
    • deleteAsset

      boolean deleteAsset(Path assetPath, EditorClient editorClient)
    • moveAsset

      boolean moveAsset(Path oldAssetPath, Path newAssetPath, EditorClient editorClient)
    • shouldReloadAssetFromDisk

      boolean shouldReloadAssetFromDisk(Path assetPath)
    • getLastModificationTimestamp

      Instant getLastModificationTimestamp(Path assetPath)
    • updateRuntimeAssets

      default void updateRuntimeAssets()
    • getFullPathToAssetData

      Path getFullPathToAssetData(Path assetPath)
    • isImmutable

      boolean isImmutable()
    • canAssetPackBeDeleted

      boolean canAssetPackBeDeleted()
    • getRootPath

      Path getRootPath()
    • getManifest

      PluginManifest getManifest()