Class: SteamCondenser::Servers::Packets::A2S_INFO_Packet

Inherits:
Object
  • Object
show all
Includes:
BasePacket
Defined in:
lib/steam-condenser/servers/packets/a2s_info_packet.rb

Overview

This packet class class represents a A2S_INFO request send to a game server

It will cause the server to send some basic information about itself, e.g. the running game, map and the number of players.

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

#to_s

Constructor Details

#initializeA2S_INFO_Packet

Creates a new A2S_INFO request object


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

def initialize
  super A2S_INFO_HEADER, "Source Engine Query\0"
end