Class CapitalWeekEvent

java.lang.Object
org.bukkit.event.Event
com.patelheet.capitalengine.api.event.CapitalWeekEvent

public class CapitalWeekEvent extends org.bukkit.event.Event
Economic week boundary, fired after the CapitalDayEvent that starts the new week.
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.bukkit.event.Event

    org.bukkit.event.Event.Result
  • Constructor Summary

    Constructors
    Constructor
    Description
    CapitalWeekEvent(long weekIndex, boolean catchUp)
    Creates the event.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Whether this boundary is being fired late after downtime.
    static org.bukkit.event.HandlerList
    Bukkit handler list.
    @NotNull org.bukkit.event.HandlerList
     
    long
    The week that is starting.

    Methods inherited from class org.bukkit.event.Event

    callEvent, getEventName, isAsynchronous

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CapitalWeekEvent

      public CapitalWeekEvent(long weekIndex, boolean catchUp)
      Creates the event.
  • Method Details

    • weekIndex

      public long weekIndex()
      The week that is starting.
    • catchUp

      public boolean catchUp()
      Whether this boundary is being fired late after downtime.
    • getHandlers

      @NotNull public @NotNull org.bukkit.event.HandlerList getHandlers()
      Specified by:
      getHandlers in class org.bukkit.event.Event
    • getHandlerList

      public static org.bukkit.event.HandlerList getHandlerList()
      Bukkit handler list.