Class ServerPing.Version
- java.lang.Object
-
- com.velocitypowered.api.proxy.server.ServerPing.Version
-
- Enclosing class:
- ServerPing
public static final class ServerPing.Version extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getName()
int
getProtocol()
int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
Version
public Version(int protocol, String name)
Creates a new instance.- Parameters:
protocol
- the protocol version as an integername
- a friendly name for the protocol version
-
-