Class CCEffectDescription
java.lang.Object
live.crowdcontrol.cc4j.websocket.payload.CCBaseEffectDescription
live.crowdcontrol.cc4j.websocket.payload.CCEffectDescription
Describes the metadata of an effect.
-
Field Summary
FieldsFields inherited from class live.crowdcontrol.cc4j.websocket.payload.CCBaseEffectDescription
admin, category, description, disabled, duration, group, hidden, image, inactive, isNew, name, note, tags, unavailable -
Constructor Summary
ConstructorsConstructorDescriptionCCEffectDescription(@NotNull String effectID, @NotNull String type, @NotNull CCName name, @Nullable String image, @Nullable String note, @Nullable String description, boolean disabled, boolean isNew, boolean inactive, boolean admin, boolean hidden, boolean unavailable, @Nullable List<String> category, @Nullable List<String> group, @Nullable List<String> tags, @Nullable CustomEffectDuration duration) -
Method Summary
Methods inherited from class live.crowdcontrol.cc4j.websocket.payload.CCBaseEffectDescription
getCategories, getDescription, getDuration, getDurationMillis, getGroups, getImage, getName, getNote, getTags, isAdminOnly, isDisabled, isHidden, isInactive, isNew, isUnavailable
-
Field Details
-
effectID
-
type
-
-
Constructor Details
-
CCEffectDescription
public CCEffectDescription(@NotNull @NotNull String effectID, @NotNull @NotNull String type, @NotNull @NotNull CCName name, @Nullable @Nullable String image, @Nullable @Nullable String note, @Nullable @Nullable String description, boolean disabled, boolean isNew, boolean inactive, boolean admin, boolean hidden, boolean unavailable, @Nullable @Nullable List<String> category, @Nullable @Nullable List<String> group, @Nullable @Nullable List<String> tags, @Nullable @Nullable CustomEffectDuration duration)
-
-
Method Details
-
getEffectId
The unique ID of the effect.- Returns:
- effectID
-
getType
Gets the type of the effect. Typicallygame.- Returns:
- effect type
-
toString
- Overrides:
toStringin classCCBaseEffectDescription
-