diff options
author | Brady <thatgravyboat@gmail.com> | 2024-04-23 10:03:24 -0230 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-23 14:33:24 +0200 |
commit | d12548c5f8235fec8b9563adb25f052c9b678874 (patch) | |
tree | ae732016323b1637003ecbc047b128f8b605beb2 /src/main/java/at/hannibal2/skyhanni/data | |
parent | 2c08c30523ece6190e301742b780fb85e6979077 (diff) | |
download | skyhanni-d12548c5f8235fec8b9563adb25f052c9b678874.tar.gz skyhanni-d12548c5f8235fec8b9563adb25f052c9b678874.tar.bz2 skyhanni-d12548c5f8235fec8b9563adb25f052c9b678874.zip |
Backend: Add ContributorManager (#1519)
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/data')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/data/jsonobjects/repo/ContributorListJson.java | 10 | ||||
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/data/jsonobjects/repo/ContributorsJson.kt | 12 |
2 files changed, 12 insertions, 10 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/data/jsonobjects/repo/ContributorListJson.java b/src/main/java/at/hannibal2/skyhanni/data/jsonobjects/repo/ContributorListJson.java deleted file mode 100644 index 8ea6d8ef6..000000000 --- a/src/main/java/at/hannibal2/skyhanni/data/jsonobjects/repo/ContributorListJson.java +++ /dev/null @@ -1,10 +0,0 @@ -package at.hannibal2.skyhanni.data.jsonobjects.repo; - -import com.google.gson.annotations.Expose; - -import java.util.List; - -public class ContributorListJson { - @Expose - public List<String> usernames; -} diff --git a/src/main/java/at/hannibal2/skyhanni/data/jsonobjects/repo/ContributorsJson.kt b/src/main/java/at/hannibal2/skyhanni/data/jsonobjects/repo/ContributorsJson.kt new file mode 100644 index 000000000..7857da85a --- /dev/null +++ b/src/main/java/at/hannibal2/skyhanni/data/jsonobjects/repo/ContributorsJson.kt @@ -0,0 +1,12 @@ +package at.hannibal2.skyhanni.data.jsonobjects.repo + +import com.google.gson.annotations.Expose + +data class ContributorsJson( + @Expose val contributors: Map<String, ContributorJsonEntry> +) + +data class ContributorJsonEntry( + @Expose val suffix: String = "§c:O", + @Expose val spinny: Boolean = false +) |