diff options
author | Trumeet <yuuta@yuuta.moe> | 2022-07-13 12:25:36 -0700 |
---|---|---|
committer | Trumeet <yuuta@yuuta.moe> | 2022-07-13 12:25:36 -0700 |
commit | d1fdb146c7ea78dbe99c38e48bf27dbe9fc5e3d0 (patch) | |
tree | 6ac06ce2c95ab43eaac3c44f7ac66bca347ff50a /src/main/java/moe/ymc/acron/s2c/response/EventCmdRes.java | |
parent | 83e5d05251f918c6a4775c92e9c95096aaef8292 (diff) | |
download | acron-d1fdb146c7ea78dbe99c38e48bf27dbe9fc5e3d0.tar acron-d1fdb146c7ea78dbe99c38e48bf27dbe9fc5e3d0.tar.gz acron-d1fdb146c7ea78dbe99c38e48bf27dbe9fc5e3d0.tar.bz2 acron-d1fdb146c7ea78dbe99c38e48bf27dbe9fc5e3d0.zip |
Move responses and events to separate packages
Signed-off-by: Trumeet <yuuta@yuuta.moe>
Diffstat (limited to 'src/main/java/moe/ymc/acron/s2c/response/EventCmdRes.java')
-rw-r--r-- | src/main/java/moe/ymc/acron/s2c/response/EventCmdRes.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/main/java/moe/ymc/acron/s2c/response/EventCmdRes.java b/src/main/java/moe/ymc/acron/s2c/response/EventCmdRes.java new file mode 100644 index 0000000..8c1b6a9 --- /dev/null +++ b/src/main/java/moe/ymc/acron/s2c/response/EventCmdRes.java @@ -0,0 +1,10 @@ +package moe.ymc.acron.s2c.response; + +import com.google.gson.annotations.SerializedName; +import moe.ymc.acron.s2c.Event; + +public record EventCmdRes(@SerializedName("id") int id, + @SerializedName("success") boolean success, + @SerializedName("result") int result) + implements Event { +} |