Skip to main content

Module common

Module common 

Source
Expand description

Shared top-level data models used across all protocol implementations.

Structs§

CacheStats
Snapshot of the current cache entry counts returned by McClient::cache_stats.
DnsInfo
DNS resolution metadata attached to every ServerStatus.
LegacyData
Data returned by the pre-1.7 Java legacy ping (0xFE 0x01).
PingResult
Raw result returned by a PingProtocol before it is assembled into a ServerStatus.
QueryData
Data returned by the UDP Query API (GameSpy4 / enable-query in server.properties).
ServerInfo
Address + edition pair — used as input to McClient::ping_many.
ServerStatus
Full server status returned to callers after a successful ping.

Enums§

ServerData
Edition-specific server data, stored inside ServerStatus.
ServerEdition
Which Minecraft edition to ping.