Module: SteamCondenser::Servers::Packets::S2A_INFO_BasePacket

Includes:
BasePacket
Included in:
S2A_INFO2_Packet, S2A_INFO_DETAILED_Packet
Defined in:
lib/steam-condenser/servers/packets/s2a_info_base_packet.rb

Overview

This module implements methods to generate and access server information from S2A_INFO_DETAILED and S2A_INFO2 response packets

See Also:

Author:

  • Sebastian Staudt

Constant Summary

Constants included from BasePacket

BasePacket::A2M_GET_SERVERS_BATCH2_HEADER, BasePacket::A2S_INFO_HEADER, BasePacket::A2S_PLAYER_HEADER, BasePacket::A2S_RULES_HEADER, BasePacket::A2S_SERVERQUERY_GETCHALLENGE_HEADER, BasePacket::C2M_CHECKMD5_HEADER, BasePacket::M2A_SERVER_BATCH_HEADER, BasePacket::RCON_GOLDSRC_CHALLENGE_HEADER, BasePacket::RCON_GOLDSRC_NO_CHALLENGE_HEADER, BasePacket::RCON_GOLDSRC_RESPONSE_HEADER, BasePacket::S2A_INFO2_HEADER, BasePacket::S2A_INFO_DETAILED_HEADER, BasePacket::S2A_PLAYER_HEADER, BasePacket::S2A_RULES_HEADER, BasePacket::S2C_CHALLENGE_HEADER, BasePacket::S2C_CONNREJECT_HEADER

Instance Method Summary collapse

Methods included from BasePacket

#initialize, #to_s

Instance Method Details

#infoHash<String, Object>

Returns the information provided by the server

Returns:

  • (Hash<String, Object>)

    The information provided by the server


23
24
25
# File 'lib/steam-condenser/servers/packets/s2a_info_base_packet.rb', line 23

def info
  @info ||= {}
end