// 
// Decompiled by Procyon v0.6.0
// 

package com.hypixel.hytale.assetstore.event;

import javax.annotation.Nonnull;
import com.hypixel.hytale.assetstore.AssetStore;
import com.hypixel.hytale.event.IEvent;

public abstract class AssetStoreEvent<KeyType> implements IEvent<KeyType>
{
    @Nonnull
    private final AssetStore<?, ?, ?> assetStore;
    
    public AssetStoreEvent(@Nonnull final AssetStore<?, ?, ?> assetStore) {
        this.assetStore = assetStore;
    }
    
    @Nonnull
    public AssetStore<?, ?, ?> getAssetStore() {
        return this.assetStore;
    }
    
    @Nonnull
    @Override
    public String toString() {
        return "AssetStoreEvent{assetStore=" + String.valueOf(this.assetStore);
    }
}
