Class ClientInfoCache
java.lang.Object
com.zenith.cache.data.info.ClientInfoCache
- All Implemented Interfaces:
CachedData
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanvoidgetPackets(@NonNull Consumer<Packet> consumer, @NonNull TcpSession session) intinthashCode()booleanbooleanbooleanvoidreset(CacheResetType type) setAllowsListing(boolean allowsListing) setChatColors(boolean chatColors) setChatVisibility(ChatVisibility chatVisibility) setHandPreference(HandPreference handPreference) setParticleStatus(ParticleStatus particleStatus) setRenderDistance(int renderDistance) setSkinParts(List<SkinPart> skinParts) setTextFilteringEnabled(boolean textFilteringEnabled) toString()Methods inherited from interface CachedData
getSendingMessage
-
Constructor Details
-
ClientInfoCache
public ClientInfoCache()
-
-
Method Details
-
getPackets
- Specified by:
getPacketsin interfaceCachedData
-
getClientInfoPacket
-
reset
- Specified by:
resetin interfaceCachedData
-
getLocale
-
getRenderDistance
public int getRenderDistance() -
getChatVisibility
-
isChatColors
public boolean isChatColors() -
getSkinParts
-
getHandPreference
-
isTextFilteringEnabled
public boolean isTextFilteringEnabled() -
isAllowsListing
public boolean isAllowsListing() -
getParticleStatus
-
setLocale
- Returns:
this.
-
setRenderDistance
- Returns:
this.
-
setChatVisibility
- Returns:
this.
-
setChatColors
- Returns:
this.
-
setSkinParts
- Returns:
this.
-
setHandPreference
- Returns:
this.
-
setTextFilteringEnabled
- Returns:
this.
-
setAllowsListing
- Returns:
this.
-
setParticleStatus
- Returns:
this.
-
equals
-
canEqual
-
hashCode
-
toString
-