Implemented textfield unfocused event

This commit is contained in:
luisc committed 2022-01-14 16:09:27 -06:00
1 parent 2874643c84
commit 791adfc1b4
9 files changed
+50 -13

No files matched your search

@@ -23,6 +23,15 @@ public class CustomGuiEvent extends Event {
}
}
public static class UnfocusedEvent extends CustomGuiEvent {
public final int textfieldId;
public UnfocusedEvent(IPlayer player, ICustomGui gui, int textfieldId) {
super(player, gui);
this.textfieldId = textfieldId;
}
}
public static class CloseEvent extends CustomGuiEvent {
public CloseEvent(IPlayer player, ICustomGui gui) {
super(player, gui);