# This code is free software; you can redistribute it and/or modify it under the
# terms of the new BSD License.
#
# Copyright (c) 2008-2010, Sebastian Staudt

require 'steam/packets/steam_packet'

class RCONGoldSrcResponse

  include SteamPacket

  def initialize(command_response)
    super RCON_GOLDSRC_RESPONSE_HEADER, command_response
  end

  def response
    @content_data.string[0..-3]
  end

end
