lib/hackers.rb
##
# Generates CP (change platform) code
#
# Returns Serializer#parseCpGenerateCode
Generates CP (change platform) code
Returns Serializer#parseCpGenerateCode
Generates CP ( change platform ) code Returns Serializer#parseCpGenerateCode
def cmdCpGenerateCode(id, platform)
        params = {
          "cp_generate_code"  => "",
          "id_player"         => id,
          "platform"          => platform,
          "app_version"       => @config["version"],
        }
        response = @client.request(params, @sid)
        serializer = Serializer.new(response)
        return serializer.parseCpGenerateCode
      end
def cmdCpGenerateCode ( id , platform ) params = { "cp_generate_code" => "" , "id_player" => id , "platform" => platform , "app_version" => @config [ "version" ] , } response = @client . request ( params , @sid ) serializer = Serializer . new ( response ) return serializer . parseCpGenerateCode end
Generates CP (change platform) code
Returns Serializer#parseCpGenerateCode
Generates CP ( change platform ) code Returns Serializer#parseCpGenerateCode
id
platform