Class CCInstantEffectResponse

java.lang.Object
live.crowdcontrol.cc4j.websocket.data.CCEffectResponse
live.crowdcontrol.cc4j.websocket.data.CCInstantEffectResponse

public class CCInstantEffectResponse extends CCEffectResponse
Informs the server of whether a purchased instant effect was executed successfully or not.
  • Constructor Details

    • CCInstantEffectResponse

      public CCInstantEffectResponse(@NotNull @NotNull UUID requestID, @NotNull @NotNull ResponseStatus status, @NotNull @NotNull String message)
      Creates a response.
      Parameters:
      requestID - the ID of the request
      status - the status of the request
      message - the reasoning to display to the viewer
    • CCInstantEffectResponse

      public CCInstantEffectResponse(@NotNull @NotNull UUID requestID, @NotNull @NotNull ResponseStatus status)
      Creates a response.
      Parameters:
      requestID - the ID of the request
      status - the status of the request