Class HypeTrainEvent

Direct Known Subclasses:
HypeTrainBeginEvent, HypeTrainEndEvent, HypeTrainProgressEvent

public abstract class HypeTrainEvent extends EventSubChannelEvent
  • Constructor Details

    • HypeTrainEvent

      public HypeTrainEvent()
  • Method Details

    • getTotal

      public Integer getTotal()
      Total points contributed to hype train.
    • getTopContributions

      public List<Contribution> getTopContributions()
      The contributors with the most points contributed.
    • getLevel

      public Integer getLevel()
      Current level of hype train event.
    • getStartedAt

      public Instant getStartedAt()
      The timestamp at which the hype train started.
    • isGoldenKappaTrain

      public boolean isGoldenKappaTrain()
      Whether the hype train rewards contributors with a temporary golden Kappa emote.
    • toString

      public String toString()
      Overrides:
      toString in class EventSubChannelEvent
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class EventSubChannelEvent
    • canEqual

      protected boolean canEqual(Object other)
      Overrides:
      canEqual in class EventSubChannelEvent
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class EventSubChannelEvent