public class GUIListener
extends java.lang.Object
implements org.bukkit.event.Listener
限定符和类型 | 字段和说明 |
---|---|
protected GUI |
currentGUI |
构造器和说明 |
---|
GUIListener(GUI gui) |
限定符和类型 | 方法和说明 |
---|---|
protected void |
close(org.bukkit.entity.Player p) |
GUI |
getCurrentGUI() |
void |
onDrag(org.bukkit.event.inventory.InventoryDragEvent e) |
void |
onInventoryClickEvent(org.bukkit.event.inventory.InventoryClickEvent event) |
void |
onInventoryCloseEvent(org.bukkit.event.inventory.InventoryCloseEvent event) |
void |
onPlayerLeave(org.bukkit.event.player.PlayerQuitEvent event) |
protected final GUI currentGUI
public GUIListener(GUI gui)
public GUI getCurrentGUI()
public void onInventoryClickEvent(org.bukkit.event.inventory.InventoryClickEvent event)
public void onDrag(org.bukkit.event.inventory.InventoryDragEvent e)
public void onInventoryCloseEvent(org.bukkit.event.inventory.InventoryCloseEvent event)
protected void close(org.bukkit.entity.Player p)
public void onPlayerLeave(org.bukkit.event.player.PlayerQuitEvent event)
Copyright © 2024. All rights reserved.