aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/kr/syeyoung/dungeonsguide/party/PartyJoinRequest.java
diff options
context:
space:
mode:
authorsyeyoung <cyong06@naver.com>2021-03-06 16:36:59 +0900
committersyeyoung <cyong06@naver.com>2021-03-06 16:36:59 +0900
commit778909720ab8bb99afb48d57a9da07ab20a6f4ce (patch)
treed68aacd31e4b5c263ae194f6897b4e3d6f986e26 /src/main/java/kr/syeyoung/dungeonsguide/party/PartyJoinRequest.java
parentccdcb508b1b7b5fcc212efc39466434631118e87 (diff)
downloadSkyblock-Dungeons-Guide-778909720ab8bb99afb48d57a9da07ab20a6f4ce.tar.gz
Skyblock-Dungeons-Guide-778909720ab8bb99afb48d57a9da07ab20a6f4ce.tar.bz2
Skyblock-Dungeons-Guide-778909720ab8bb99afb48d57a9da07ab20a6f4ce.zip
pog
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;
+ }
+}