public static class ServerMetadata.Version extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ServerMetadata.Version.Serializer |
Modifier and Type | Field and Description |
---|---|
private String |
gameVersion |
private int |
protocolVersion |
Constructor and Description |
---|
Version(String gameVersion,
int protocolVersion) |
Modifier and Type | Method and Description |
---|---|
String |
getGameVersion() |
int |
getProtocolVersion() |
private final String gameVersion
private final int protocolVersion
public Version(String gameVersion, int protocolVersion)
public String getGameVersion()
public int getProtocolVersion()