1
0
KF2-Dev-Scripts/IpDrv/Classes/McpClashMobFileDownload.uc
2020-12-13 18:01:13 +03:00

25 lines
660 B
Ucode

/**
* Copyright 1998-2013 Epic Games, Inc. All Rights Reserved.
*
* Provides the interface for ClashMob Mcp services
*/
class McpClashMobFileDownload extends OnlineTitleFileDownloadWeb
config(Engine);
/**
* Build the clashmob specific Url for downloading a given file
*
* @param FileName the file to search the table for
*
* @param the URL to use to request the file or BaseURL if no special mapping is present
*/
function string GetUrlForFile(string FileName)
{
local string Url;
Url = GetBaseURL() $ RequestFileURL $
"?appKey=" $ McpConfig.AppKey $ "&appSecret=" $ McpConfig.AppSecret $
"&dlName=";
return Url;
}