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>

public class AssetStoreMonitorEvent extends AssetMonitorEvent<Void>
An asset monitor event that is associated with a specific asset store.
  • 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 an AssetStoreMonitorEvent instance.
      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

      @Nonnull public AssetStore<?,?,?> getAssetStore()
      Returns:
      the asset store associated with this event.
    • toString

      @Nonnull public String toString()
      Overrides:
      toString in class Object