Class HypeTrainEvent
java.lang.Object
com.github.twitch4j.eventsub.events.EventSubEvent
com.github.twitch4j.eventsub.events.EventSubChannelEvent
com.github.twitch4j.eventsub.events.HypeTrainEvent
- Direct Known Subclasses:
HypeTrainBeginEvent
,HypeTrainEndEvent
,HypeTrainProgressEvent
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
getLevel()
Current level of hype train event.The timestamp at which the hype train started.The contributors with the most points contributed.getTotal()
Total points contributed to hype train.int
hashCode()
boolean
Whether the hype train rewards contributors with a temporary golden Kappa emote.toString()
Methods inherited from class com.github.twitch4j.eventsub.events.EventSubChannelEvent
getBroadcasterUserId, getBroadcasterUserLogin, getBroadcasterUserName
-
Constructor Details
-
HypeTrainEvent
public HypeTrainEvent()
-
-
Method Details
-
getTotal
Total points contributed to hype train. -
getTopContributions
The contributors with the most points contributed. -
getLevel
Current level of hype train event. -
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
- Overrides:
toString
in classEventSubChannelEvent
-
equals
- Overrides:
equals
in classEventSubChannelEvent
-
canEqual
- Overrides:
canEqual
in classEventSubChannelEvent
-
hashCode
public int hashCode()- Overrides:
hashCode
in classEventSubChannelEvent
-