/// <summary> /// Build the URL to something static in the CDN /// </summary> /// <returns></returns> public static string StaticDataPath(CDNData target, Games game = Games.DOTA2) { switch (target) { case CDNData.DATAGRAM_NETWORK_CONFIG: return "/apps/sdr/network_config.json"; default: return null; } }
/// <summary> /// Build the URL to something static in the CDN /// </summary> /// <returns></returns> public static string StaticDataPath(CDNData target, Games game = Games.DOTA2) { switch (target) { case CDNData.DATAGRAM_NETWORK_CONFIG: return("/apps/sdr/network_config.json"); default: return(null); } }