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 booleanbooleangetLevel()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.inthashCode()booleanWhether 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:
toStringin classEventSubChannelEvent
-
equals
- Overrides:
equalsin classEventSubChannelEvent
-
canEqual
- Overrides:
canEqualin classEventSubChannelEvent
-
hashCode
public int hashCode()- Overrides:
hashCodein classEventSubChannelEvent
-