diff options
Diffstat (limited to 'src/main/java/kr/syeyoung/dungeonsguide/party/PartyJoinRequest.java')
-rw-r--r-- | src/main/java/kr/syeyoung/dungeonsguide/party/PartyJoinRequest.java | 32 |
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; + } +} |