Contents
Class AssetStoreMonitorEvent
java.lang.Object
com.hypixel.hytale.assetstore.event.AssetMonitorEvent<Void>
com.hypixel.hytale.assetstore.event.AssetStoreMonitorEvent
- All Implemented Interfaces:
IBaseEvent<Void>, IEvent<Void>
An asset monitor event that is associated with a specific asset store.
-
Constructor Summary
ConstructorsConstructorDescriptionAssetStoreMonitorEvent(String assetPack, AssetStore<?, ?, ?> assetStore, List<Path> createdOrModified, List<Path> removed, List<Path> createdOrModifiedDirectories, List<Path> removedDirectories) Default Constructor for anAssetStoreMonitorEventinstance. -
Method Summary
Methods inherited from class AssetMonitorEvent
getAssetPack, getCreatedOrModifiedDirectories, getCreatedOrModifiedFilesToLoad, getRemovedFilesAndDirectories, getRemovedFilesToUnload
-
Constructor Details
-
AssetStoreMonitorEvent
public AssetStoreMonitorEvent(@Nonnull String assetPack, @Nonnull AssetStore<?, ?, ?> assetStore, @Nonnull List<Path> createdOrModified, @Nonnull List<Path> removed, @Nonnull List<Path> createdOrModifiedDirectories, @Nonnull List<Path> removedDirectories) Default Constructor for anAssetStoreMonitorEventinstance.- Parameters:
assetPack- The asset pack associated with these asset changes.assetStore- The asset store associated with this event.createdOrModified- The created or modified files to load.removed- The removed files to unload.createdOrModifiedDirectories- The created or modified directories.removedDirectories- The removed files and directories.
-
-
Method Details
-
getAssetStore
- Returns:
- the asset store associated with this event.
-
toString
-