mirror of
https://github.com/FancyInnovations/FancyPlugins.git
synced 2025-12-06 07:43:36 +00:00
packets: Add packets for dialogs
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
package de.oliver.fancysitula.api.dialogs;
|
||||
|
||||
public interface FS_Dialog {
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
package de.oliver.fancysitula.api.packets;
|
||||
|
||||
public abstract class FS_ClientboundClearDialogPacket extends FS_ClientboundPacket {
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
package de.oliver.fancysitula.api.packets;
|
||||
|
||||
import de.oliver.fancysitula.api.dialogs.FS_Dialog;
|
||||
|
||||
public abstract class FS_ClientboundShowDialogPacket extends FS_ClientboundPacket {
|
||||
|
||||
protected FS_Dialog dialog;
|
||||
|
||||
public FS_ClientboundShowDialogPacket(FS_Dialog dialog) {
|
||||
this.dialog = dialog;
|
||||
}
|
||||
|
||||
public FS_Dialog getDialog() {
|
||||
return dialog;
|
||||
}
|
||||
|
||||
public void setDialog(FS_Dialog dialog) {
|
||||
this.dialog = dialog;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user