public class WorldSummary extends java.lang.Object implements java.lang.Comparable<WorldSummary>
Modifier and Type | Field and Description |
---|---|
private boolean |
cheatsEnabled |
private java.lang.String |
displayName |
private java.lang.String |
fileName |
private GameType |
gameType |
private boolean |
hardcore |
private long |
lastTimePlayed |
private boolean |
requiresConversion |
private long |
sizeOnDisk |
private int |
versionId |
private java.lang.String |
versionName |
private boolean |
versionSnapshot |
Constructor and Description |
---|
WorldSummary(WorldInfo info,
java.lang.String fileNameIn,
java.lang.String displayNameIn,
long sizeOnDiskIn,
boolean requiresConversionIn) |
Modifier and Type | Method and Description |
---|---|
boolean |
askToOpenWorld() |
int |
compareTo(WorldSummary p_compareTo_1_) |
boolean |
getCheatsEnabled() |
java.lang.String |
getDisplayName() |
GameType |
getEnumGameType() |
java.lang.String |
getFileName() |
long |
getLastTimePlayed() |
long |
getSizeOnDisk() |
java.lang.String |
getVersionName() |
boolean |
isHardcoreModeEnabled() |
boolean |
markVersionInList() |
boolean |
requiresConversion() |
private final java.lang.String fileName
private final java.lang.String displayName
private final long lastTimePlayed
private final long sizeOnDisk
private final boolean requiresConversion
private final GameType gameType
private final boolean hardcore
private final boolean cheatsEnabled
private final java.lang.String versionName
private final int versionId
private final boolean versionSnapshot
public WorldSummary(WorldInfo info, java.lang.String fileNameIn, java.lang.String displayNameIn, long sizeOnDiskIn, boolean requiresConversionIn)
public java.lang.String getFileName()
public java.lang.String getDisplayName()
public long getSizeOnDisk()
public boolean requiresConversion()
public long getLastTimePlayed()
public int compareTo(WorldSummary p_compareTo_1_)
compareTo
in interface java.lang.Comparable<WorldSummary>
public GameType getEnumGameType()
public boolean isHardcoreModeEnabled()
public boolean getCheatsEnabled()
public java.lang.String getVersionName()
public boolean markVersionInList()
public boolean askToOpenWorld()