Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PingInfo ¶
type PingInfo struct { protocol.Packet GameMode byte `csv:"_"` // ?? GameName string `csv:"_"` // es3a GameVersion string `csv:"_"` // V 001.000r GameStatus StatusByte `csv:"status"` PlayerCount byte `csv:"cur_players"` MaxPlayers byte `csv:"max_players"` Name string `csv:"server_name"` Address string `csv:"server_address"` Ping time.Duration `csv:"ping"` // contains filtered or unexported fields }
func (*PingInfo) MarshalBinary ¶ added in v1.2.0
func (*PingInfo) PingInfoQuery ¶
func (*PingInfo) UnmarshalBinary ¶
type StatusByte ¶
type StatusByte byte
func (StatusByte) MarshalJSON ¶
func (s StatusByte) MarshalJSON() ([]byte, error)
func (StatusByte) String ¶
func (s StatusByte) String() string
func (StatusByte) StringSlice ¶
func (s StatusByte) StringSlice() []string
func (StatusByte) Struct ¶
func (s StatusByte) Struct() StatusByteStruct
type StatusByteStruct ¶
type StatusByteStruct struct { Protected bool Dedicated bool AllowOldClients bool Started bool Dynamix bool WON bool Unknown2 bool Unknown3 bool }
func (StatusByteStruct) MarshalBinary ¶ added in v1.2.0
func (s StatusByteStruct) MarshalBinary() byte
Click to show internal directories.
Click to hide internal directories.