Class CustomClickAction
java.lang.Object
net.md_5.bungee.api.dialog.action.CustomClickAction
- All Implemented Interfaces:
Action
Submits the dialog with the given ID and values as a payload.
-
Constructor Summary
ConstructorsConstructorDescriptionCustomClickAction(@NonNull String id) Creates a newCustomClickActioninstance. -
Method Summary
Modifier and TypeMethodDescriptioncom.google.gson.JsonElementFields to be added to the submission payload.additions(com.google.gson.JsonElement additions) Fields to be added to the submission payload.protected booleanbooleaninthashCode()@NonNull Stringid()The namespaced key of the submission.The namespaced key of the submission.toString()
-
Constructor Details
-
CustomClickAction
Creates a newCustomClickActioninstance.- Parameters:
id- The namespaced key of the submission.
-
-
Method Details
-
id
The namespaced key of the submission. -
additions
public com.google.gson.JsonElement additions()Fields to be added to the submission payload. -
id
The namespaced key of the submission.- Returns:
this.
-
additions
Fields to be added to the submission payload.- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-