Contents
Class AssetMonitorEvent<T>
java.lang.Object
com.hypixel.hytale.assetstore.event.AssetMonitorEvent<T>
- Type Parameters:
T- the type of the event result.
- All Implemented Interfaces:
IBaseEvent<T>, IEvent<T>
- Direct Known Subclasses:
AssetStoreMonitorEvent, CommonAssetMonitorEvent
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription
-
Constructor Details
-
AssetMonitorEvent
public AssetMonitorEvent(@Nonnull String assetPack, @Nonnull List<Path> createdOrModified, @Nonnull List<Path> removed, @Nonnull List<Path> createdDirectories, @Nonnull List<Path> removedDirectories) Default Constructor for anAssetMonitorEventinstance.- Parameters:
assetPack- The asset pack associated with these asset changes.createdOrModified- The created or modified files to load.removed- The removed files to unload.createdDirectories- The created or modified directories.removedDirectories- The removed files and directories.
-
-
Method Details
-
getAssetPack
- Returns:
- The asset pack associated with these asset changes.
-
getCreatedOrModifiedFilesToLoad
-
getRemovedFilesToUnload
-
getRemovedFilesAndDirectories
-
getCreatedOrModifiedDirectories
-