Klasse PayForwardEvent
java.lang.Object
com.github.philippheuer.events4j.core.domain.Event
com.github.twitch4j.chat.events.TwitchEvent
com.github.twitch4j.chat.events.AbstractChannelEvent
com.github.twitch4j.chat.events.channel.PayForwardEvent
- Alle implementierten Schnittstellen:
com.github.philippheuer.events4j.api.domain.IEvent
Calls when a user pays forward a gift.
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungPayForwardEvent(EventChannel channel, EventUser user, EventUser priorGifter, EventUser recipient) Event Constructor -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected booleanbooleanThe previous user that gifted to this one, if not anonymous.The user that is receiving this gift, if it is not for the community at-large.getUser()The user that is paying forward their gift.inthashCode()booleantoString()booleanVon Klasse geerbte Methoden com.github.twitch4j.chat.events.AbstractChannelEvent
ban, getChannel, timeout, unbanVon Klasse geerbte Methoden com.github.twitch4j.chat.events.TwitchEvent
getTwitchChatVon Klasse geerbte Methoden com.github.philippheuer.events4j.core.domain.Event
getEventId, getFiredAt, getFiredAtInstant, getServiceMediator, setEventId, setFiredAt, setFiredAtInstant, setServiceMediator
-
Konstruktordetails
-
PayForwardEvent
public PayForwardEvent(EventChannel channel, EventUser user, EventUser priorGifter, EventUser recipient) Event Constructor- Parameter:
channel- The channel that this event originates from.user- The user that is paying forward their gift.priorGifter- The previous user that gifted to this one, if not anonymous.recipient- The user that is receiving this gift, if it is not for the community at-large.
-
-
Methodendetails
-
wasPriorGifterAnonymous
public boolean wasPriorGifterAnonymous() -
isCommunityPayForward
public boolean isCommunityPayForward() -
getUser
The user that is paying forward their gift. -
getPriorGifter
The previous user that gifted to this one, if not anonymous. -
getRecipient
The user that is receiving this gift, if it is not for the community at-large. -
equals
- Setzt außer Kraft:
equalsin KlasseAbstractChannelEvent
-
canEqual
- Setzt außer Kraft:
canEqualin KlasseAbstractChannelEvent
-
hashCode
public int hashCode()- Setzt außer Kraft:
hashCodein KlasseAbstractChannelEvent
-
toString
- Setzt außer Kraft:
toStringin KlasseAbstractChannelEvent
-