Class CallDataMethod<A>

java.lang.Object
live.crowdcontrol.cc4j.websocket.data.CallDataMethod<A>

public class CallDataMethod<A> extends Object
A method to be called on the remote server.
  • Field Details

    • EFFECT_RESPONSE

      public static final CallDataMethod<CCEffectResponse> EFFECT_RESPONSE
      Informs the server of whether a purchased effect was executed successfully or not.
    • EFFECT_REPORT

      public static final CallDataMethod<CCEffectReport> EFFECT_REPORT
      Instructs the server to adjust the visibility or usability of an effect in the menu.
  • Constructor Details

    • CallDataMethod

      public CallDataMethod(@NotNull @NotNull String value)
  • Method Details

    • getValue

      @NotNull public @NotNull String getValue()
      Returns the string value of this method.
      Returns:
      method id