mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-01-10 23:28:52 +07:00
Added mod listing data class
This commit is contained in:
parent
6c83c111cd
commit
71da1f1135
19
core/src/mindustry/mod/ModListing.java
Normal file
19
core/src/mindustry/mod/ModListing.java
Normal file
@ -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 +
|
||||||
|
'}';
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user