Class WebEditorResponse

java.lang.Object
me.lucko.luckperms.common.webeditor.WebEditorResponse

public class WebEditorResponse extends Object
Encapsulates a response from the web editor.
  • Constructor Details

    • WebEditorResponse

      public WebEditorResponse(String id, com.google.gson.JsonObject payload)
  • Method Details

    • apply

      public void apply(LuckPermsPlugin plugin, Sender sender, WebEditorSession editorSession, String commandLabel, boolean ignoreSessionWarning)
      Applies the response to storage, sending appropriate informational messages to the sender.
      Parameters:
      plugin - the plugin
      sender - the sender who is applying the session