Contents
- Description
- Method Summary
- Method Details
- start()
- shutdown()
- getAssetTree()
- loadAssetTree(Collection)
- doesDirectoryExist(Path)
- createDirectory(Path, EditorClient)
- deleteDirectory(Path)
- moveDirectory(Path, Path)
- doesAssetExist(Path)
- getAssetBytes(Path)
- updateAsset(Path, byte[], EditorClient)
- createAsset(Path, byte[], EditorClient)
- deleteAsset(Path, EditorClient)
- moveAsset(Path, Path, EditorClient)
- shouldReloadAssetFromDisk(Path)
- getLastModificationTimestamp(Path)
- updateRuntimeAssets()
- getFullPathToAssetData(Path)
- isImmutable()
- canAssetPackBeDeleted()
- getRootPath()
- getManifest()
Interface DataSource
- All Known Implementing Classes:
StandardDataSource
public interface DataSource
-
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleancreateAsset(Path assetPath, byte[] bytes, EditorClient editorClient) booleancreateDirectory(Path dirtPath, EditorClient editorClient) booleandeleteAsset(Path assetPath, EditorClient editorClient) booleandeleteDirectory(Path dirPath) booleandoesAssetExist(Path assetPath) booleandoesDirectoryExist(Path folderPath) byte[]getAssetBytes(Path assetPath) getFullPathToAssetData(Path assetPath) getLastModificationTimestamp(Path assetPath) booleanloadAssetTree(Collection<AssetTypeHandler> assetTypes) booleanmoveAsset(Path oldAssetPath, Path newAssetPath, EditorClient editorClient) booleanmoveDirectory(Path oldDirPath, Path newDirPath) booleanshouldReloadAssetFromDisk(Path assetPath) voidshutdown()voidstart()booleanupdateAsset(Path assetPath, byte[] bytes, EditorClient editorClient) default void
-
Method Details
-
start
void start() -
shutdown
void shutdown() -
getAssetTree
AssetTree getAssetTree() -
loadAssetTree
-
doesDirectoryExist
-
createDirectory
-
deleteDirectory
-
moveDirectory
-
doesAssetExist
-
getAssetBytes
-
updateAsset
-
createAsset
-
deleteAsset
-
moveAsset
-
shouldReloadAssetFromDisk
-
getLastModificationTimestamp
-
updateRuntimeAssets
default void updateRuntimeAssets() -
getFullPathToAssetData
-
isImmutable
boolean isImmutable() -
canAssetPackBeDeleted
boolean canAssetPackBeDeleted() -
getRootPath
Path getRootPath() -
getManifest
PluginManifest getManifest()
-