From 71da1f1135930e468f2262d8640be81253509dde Mon Sep 17 00:00:00 2001 From: Anuken Date: Sun, 5 Jan 2020 00:08:48 -0500 Subject: [PATCH] Added mod listing data class --- core/src/mindustry/mod/ModListing.java | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 core/src/mindustry/mod/ModListing.java diff --git a/core/src/mindustry/mod/ModListing.java b/core/src/mindustry/mod/ModListing.java new file mode 100644 index 0000000000..d0c1d80094 --- /dev/null +++ b/core/src/mindustry/mod/ModListing.java @@ -0,0 +1,19 @@ +package mindustry.mod; + +/** Mod listing as a data class. */ +public class ModListing{ + public String repo, name, author, lastUpdated, description; + public int stars; + + @Override + public String toString(){ + return "ModListing{" + + "repo='" + repo + '\'' + + ", name='" + name + '\'' + + ", author='" + author + '\'' + + ", lastUpdated='" + lastUpdated + '\'' + + ", description='" + description + '\'' + + ", stars=" + stars + + '}'; + } +}