Class AssetStoreEvent<KeyType>

java.lang.Object
com.hypixel.hytale.assetstore.event.AssetStoreEvent<KeyType>
Type Parameters:
KeyType - the key type of the event.
All Implemented Interfaces:
IBaseEvent<KeyType>, IEvent<KeyType>
Direct Known Subclasses:
RegisterAssetStoreEvent, RemoveAssetStoreEvent

public abstract class AssetStoreEvent<KeyType> extends Object implements IEvent<KeyType>
An event that involves a specific asset store.
  • Constructor Details

    • AssetStoreEvent

      public AssetStoreEvent(@Nonnull AssetStore<?,?,?> assetStore)
      Default Constructor for a AssetStoreEvent instance.
      Parameters:
      assetStore - The asset store that is involved in this event.
  • Method Details

    • getAssetStore

      @Nonnull public AssetStore<?,?,?> getAssetStore()
      Returns:
      the asset store that is involved in this event.
    • toString

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