Class: RCONAuthResponse
- Inherits:
-
Object
- Object
- RCONAuthResponse
- Includes:
- RCONPacket
- Defined in:
- lib/steam/packets/rcon/rcon_auth_response.rb
Overview
This packet class represents a SERVERDATA_AUTH_RESPONSE packet sent by a Source server
It is used to indicate the success or failure of an authentication attempt of a client for RCON communication.
Constant Summary
Constants included from RCONPacket
RCONPacket::SERVERDATA_AUTH, RCONPacket::SERVERDATA_AUTH_RESPONSE, RCONPacket::SERVERDATA_EXECCOMMAND, RCONPacket::SERVERDATA_RESPONSE_VALUE
Constants included from SteamPacket
SteamPacket::A2M_GET_SERVERS_BATCH2_HEADER, SteamPacket::A2S_INFO_HEADER, SteamPacket::A2S_PLAYER_HEADER, SteamPacket::A2S_RULES_HEADER, SteamPacket::A2S_SERVERQUERY_GETCHALLENGE_HEADER, SteamPacket::C2M_CHECKMD5_HEADER, SteamPacket::M2A_SERVER_BATCH_HEADER, SteamPacket::M2C_ISVALIDMD5_HEADER, SteamPacket::M2S_REQUESTRESTART_HEADER, SteamPacket::RCON_GOLDSRC_CHALLENGE_HEADER, SteamPacket::RCON_GOLDSRC_NO_CHALLENGE_HEADER, SteamPacket::RCON_GOLDSRC_RESPONSE_HEADER, SteamPacket::S2A_INFO2_HEADER, SteamPacket::S2A_INFO_DETAILED_HEADER, SteamPacket::S2A_LOGSTRING_HEADER, SteamPacket::S2A_PLAYER_HEADER, SteamPacket::S2A_RULES_HEADER, SteamPacket::S2C_CHALLENGE_HEADER, SteamPacket::S2C_CONNREJECT_HEADER, SteamPacket::S2M_HEARTBEAT2_HEADER
Instance Attribute Summary
Attributes included from RCONPacket
Instance Method Summary collapse
-
#initialize(request_id) ⇒ RCONAuthResponse
constructor
Creates a RCON authentication response for the given request ID.
Methods included from RCONPacket
Methods included from SteamPacket
Constructor Details
#initialize(request_id) ⇒ RCONAuthResponse
Creates a RCON authentication response for the given request ID
The request ID of the packet will match the client’s request if authentication was successful
26 27 28 |
# File 'lib/steam/packets/rcon/rcon_auth_response.rb', line 26 def initialize(request_id) super request_id, SERVERDATA_AUTH_RESPONSE, '' end |