Battle Talent  V11
Public Member Functions | Static Public Member Functions | List of all members
CrossLink.ResDownloader Class Reference

Public Member Functions

delegate void CallBack ()
 
delegate void CallBack< in T > (T arg)
 
delegate void CallBack< in T, in X > (T arg1, X arg2)
 
void LoadVideoInfo (string uri, string fileName, CallBack< JObject > action)
 
void DownloadVideo (VideoInfo info, string path, string videoURL, CallBack< string > action)
 
void SaveFile (byte[] res, string savePath, string fileUrl, CallBack action=null)
 
bool IsExistFile (VideoInfo info, string path)
 

Static Public Member Functions

static string GetMD5HashFromFile (string fileName)