aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/kr/syeyoung/dungeonsguide/party/PartyJoinRequest.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/kr/syeyoung/dungeonsguide/party/PartyJoinRequest.java')
-rw-r--r--src/main/java/kr/syeyoung/dungeonsguide/party/PartyJoinRequest.java32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/party/PartyJoinRequest.java b/src/main/java/kr/syeyoung/dungeonsguide/party/PartyJoinRequest.java
new file mode 100644
index 00000000..4b11cc94
--- /dev/null
+++ b/src/main/java/kr/syeyoung/dungeonsguide/party/PartyJoinRequest.java
@@ -0,0 +1,32 @@
+package kr.syeyoung.dungeonsguide.party;
+
+import lombok.AllArgsConstructor;
+import lombok.Data;
+import lombok.Getter;
+import net.arikia.dev.drpc.DiscordRPC;
+import net.arikia.dev.drpc.DiscordUser;
+
+import java.awt.*;
+import java.time.Instant;
+
+@Data
+public class PartyJoinRequest {
+ private DiscordUser discordUser;
+ private Instant time;
+
+ private Rectangle wholeRect = new Rectangle();
+ private Rectangle acceptRect = new Rectangle();
+ private Rectangle denyRect = new Rectangle();
+ private Rectangle ignoreRect = new Rectangle();
+
+ private int ttl = -1;
+ private Reply reply;
+
+ @AllArgsConstructor
+ public static enum Reply {
+ ACCEPT("Accepted"), DENY("Denied"), IGNORE("Ignored");
+
+ @Getter
+ private String past;
+ }
+}