Package net.md_5.bungee.api.chat
Class ClickEventCustom
- java.lang.Object
-
- net.md_5.bungee.api.chat.ClickEvent
-
- net.md_5.bungee.api.chat.ClickEventCustom
-
public class ClickEventCustom extends ClickEvent
Click event which sends a custom payload to the server.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.md_5.bungee.api.chat.ClickEvent
ClickEvent.Action
-
-
Constructor Summary
Constructors Constructor Description ClickEventCustom(String id, String payload)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)StringgetPayload()The custom payload.inthashCode()StringtoString()-
Methods inherited from class net.md_5.bungee.api.chat.ClickEvent
getAction, getValue
-
-
-
-
Method Detail
-
getPayload
public String getPayload()
The custom payload.
-
toString
public String toString()
- Overrides:
toStringin classClickEvent
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classClickEvent
-
canEqual
protected boolean canEqual(Object other)
- Overrides:
canEqualin classClickEvent
-
hashCode
public int hashCode()
- Overrides:
hashCodein classClickEvent
-
-