Class ServerPingRecord
java.lang.Object
com.comphenix.protocol.wrappers.ping.ServerPingRecord
- All Implemented Interfaces:
ServerPingImpl,Cloneable
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic final classstatic final class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanstatic ServerPingRecordgetJson()getMotD()com.google.common.collect.ImmutableList<WrappedGameProfile> intintintbooleanvoidvoidvoidsetEnforceSecureChat(boolean safeChat) voidvoidsetMotD(WrappedChatComponent description) voidsetPlayers(Iterable<? extends WrappedGameProfile> playerSample) voidsetPlayersMaximum(int maxPlayers) voidsetPlayersOnline(int onlineCount) voidsetPlayersVisible(boolean visible) voidsetVersionName(String versionName) voidsetVersionProtocol(int protocolVersion) Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.comphenix.protocol.wrappers.ping.ServerPingImpl
isChatPreviewEnabled, setChatPreviewEnabled
-
Constructor Details
-
ServerPingRecord
-
ServerPingRecord
public ServerPingRecord()
-
-
Method Details
-
fromJson
-
getMotD
- Specified by:
getMotDin interfaceServerPingImpl
-
setMotD
- Specified by:
setMotDin interfaceServerPingImpl
-
getPlayersMaximum
public int getPlayersMaximum()- Specified by:
getPlayersMaximumin interfaceServerPingImpl
-
setPlayersMaximum
public void setPlayersMaximum(int maxPlayers) - Specified by:
setPlayersMaximumin interfaceServerPingImpl
-
getPlayersOnline
public int getPlayersOnline()- Specified by:
getPlayersOnlinein interfaceServerPingImpl
-
setPlayersOnline
public void setPlayersOnline(int onlineCount) - Specified by:
setPlayersOnlinein interfaceServerPingImpl
-
getPlayers
- Specified by:
getPlayersin interfaceServerPingImpl
-
setPlayers
- Specified by:
setPlayersin interfaceServerPingImpl
-
getVersionName
- Specified by:
getVersionNamein interfaceServerPingImpl
-
setVersionName
- Specified by:
setVersionNamein interfaceServerPingImpl
-
getVersionProtocol
public int getVersionProtocol()- Specified by:
getVersionProtocolin interfaceServerPingImpl
-
setVersionProtocol
public void setVersionProtocol(int protocolVersion) - Specified by:
setVersionProtocolin interfaceServerPingImpl
-
getFavicon
- Specified by:
getFaviconin interfaceServerPingImpl
-
setFavicon
- Specified by:
setFaviconin interfaceServerPingImpl
-
isEnforceSecureChat
public boolean isEnforceSecureChat()- Specified by:
isEnforceSecureChatin interfaceServerPingImpl
-
setEnforceSecureChat
public void setEnforceSecureChat(boolean safeChat) - Specified by:
setEnforceSecureChatin interfaceServerPingImpl
-
resetPlayers
public void resetPlayers()- Specified by:
resetPlayersin interfaceServerPingImpl
-
resetVersion
public void resetVersion()- Specified by:
resetVersionin interfaceServerPingImpl
-
arePlayersVisible
public boolean arePlayersVisible()- Specified by:
arePlayersVisiblein interfaceServerPingImpl
-
setPlayersVisible
public void setPlayersVisible(boolean visible) - Specified by:
setPlayersVisiblein interfaceServerPingImpl
-
getJson
- Specified by:
getJsonin interfaceServerPingImpl
-
getHandle
- Specified by:
getHandlein interfaceServerPingImpl
-
equals
-