public class ClientGuiButtonClickEvent extends ClientGuiEvent
cancelled| Constructor and Description |
|---|
ClientGuiButtonClickEvent(int eventButton,
boolean btnState,
int btnId,
java.lang.String GuiName,
org.bukkit.entity.Player player) |
| Modifier and Type | Method and Description |
|---|---|
BridgePlayer |
getBridgePlayer()
Gets the BridgePlayer that caused the event.
|
boolean |
getButtonState()
Returns the state of the event button
|
int |
getEventButton()
Returns the mouse button used.
|
java.lang.String |
getGuiName()
Returns the name of the GUI of the clicked button.
|
int |
getId()
Returns the id of the GuiButton clicked.
|
org.bukkit.entity.Player |
getPlayer()
Gets the player that caused the event.
|
getEventType, getHandlers, isCancelled, setCancelledpublic ClientGuiButtonClickEvent(int eventButton,
boolean btnState,
int btnId,
java.lang.String GuiName,
org.bukkit.entity.Player player)
public int getEventButton()
public boolean getButtonState()
public int getId()
public java.lang.String getGuiName()
public org.bukkit.entity.Player getPlayer()
public BridgePlayer getBridgePlayer()