Class CCInstantEffectResponse
java.lang.Object
live.crowdcontrol.cc4j.websocket.data.CCEffectResponse
live.crowdcontrol.cc4j.websocket.data.CCInstantEffectResponse
Informs the server of whether a purchased instant effect was executed successfully or not.
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionCCInstantEffectResponse(@NotNull UUID requestID, @NotNull ResponseStatus status) Creates a response.CCInstantEffectResponse(@NotNull UUID requestID, @NotNull ResponseStatus status, @NotNull String message) Creates a response. -
Method Summary
Methods inherited from class live.crowdcontrol.cc4j.websocket.data.CCEffectResponse
getId, getMessage, getRequestId, getStatus, getTimestamp
-
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 requeststatus- the status of the requestmessage- 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 requeststatus- the status of the request
-