2021-06-01 15:33:08 +02:00
|
|
|
package ley.modding.tcu.model;
|
|
|
|
|
|
|
|
public class Version {
|
|
|
|
|
|
|
|
public String latest;
|
|
|
|
public String current;
|
|
|
|
public String overrides;
|
|
|
|
|
|
|
|
public Version(String latest, String current, String overrides) {
|
|
|
|
this.latest = latest;
|
|
|
|
this.current = current;
|
|
|
|
this.overrides = overrides;
|
|
|
|
}
|
|
|
|
|
|
|
|
public boolean isLatest() {
|
2023-08-02 19:18:59 +02:00
|
|
|
return current == null || latest.equals(current);
|
2021-06-01 15:33:08 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|