Package tv.phantombot.event.twitch
Class TwitchBroadcasterTypeEvent
java.lang.Object
tv.phantombot.event.Event
tv.phantombot.event.twitch.TwitchEvent
tv.phantombot.event.twitch.TwitchBroadcasterTypeEvent
An update to the Twitch broadcaster type of the caster
-
Constructor Summary
ConstructorsConstructorDescriptionTwitchBroadcasterTypeEvent
(boolean wasAffiliate, boolean wasPartner, boolean isAffiliate, boolean isPartner) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Indicates if this channel is an affiliateboolean
Indicates if this channel is either an affiliate or a partnerboolean
Indicates if this channel is a partnerboolean
Indicates if this channel was an affiliate before this updateboolean
Indicates if this channel was either an affiliate or a partner before this updateboolean
Indicates if this channel was a partner before this update
-
Constructor Details
-
TwitchBroadcasterTypeEvent
public TwitchBroadcasterTypeEvent(boolean wasAffiliate, boolean wasPartner, boolean isAffiliate, boolean isPartner)
-
-
Method Details
-
wasAffiliate
public boolean wasAffiliate()Indicates if this channel was an affiliate before this update- Returns:
-
wasPartner
public boolean wasPartner()Indicates if this channel was a partner before this update- Returns:
-
wasAffiliateOrPartner
public boolean wasAffiliateOrPartner()Indicates if this channel was either an affiliate or a partner before this update- Returns:
-
isAffiliate
public boolean isAffiliate()Indicates if this channel is an affiliate- Returns:
-
isPartner
public boolean isPartner()Indicates if this channel is a partner- Returns:
-
isAffiliateOrPartner
public boolean isAffiliateOrPartner()Indicates if this channel is either an affiliate or a partner- Returns:
-