Class LoadAssetEvent

java.lang.Object
com.hypixel.hytale.server.core.asset.LoadAssetEvent
All Implemented Interfaces:
IBaseEvent<Void>, IEvent<Void>

public class LoadAssetEvent extends Object implements IEvent<Void>
  • Field Details

    • PRIORITY_LOAD_COMMON

      public static final short PRIORITY_LOAD_COMMON
      See Also:
    • PRIORITY_LOAD_REGISTRY

      public static final short PRIORITY_LOAD_REGISTRY
      See Also:
    • PRIORITY_LOAD_LATE

      public static final short PRIORITY_LOAD_LATE
      See Also:
    • bootStart

      private final long bootStart
    • reasons

      @Nonnull private final List<String> reasons
    • shouldShutdown

      private boolean shouldShutdown
  • Constructor Details

    • LoadAssetEvent

      public LoadAssetEvent(long bootStart)
  • Method Details

    • getBootStart

      public long getBootStart()
    • isShouldShutdown

      public boolean isShouldShutdown()
    • getReasons

      @Nonnull public List<String> getReasons()
    • failed

      public void failed(boolean shouldShutdown, String reason)
    • toString

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