Class CCEffectDescription

java.lang.Object
live.crowdcontrol.cc4j.websocket.payload.CCBaseEffectDescription
live.crowdcontrol.cc4j.websocket.payload.CCEffectDescription

public class CCEffectDescription extends CCBaseEffectDescription
Describes the metadata of an effect.
  • Field Details

    • effectID

      @NotNull protected final @NotNull String effectID
    • type

      @NotNull protected final @NotNull String 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

      @NotNull public @NotNull String getEffectId()
      The unique ID of the effect.
      Returns:
      effectID
    • getType

      @NotNull public @NotNull String getType()
      Gets the type of the effect. Typically game.
      Returns:
      effect type
    • toString

      public String toString()
      Overrides:
      toString in class CCBaseEffectDescription