Esempio n. 1
0
    public override void OnStartDownloadPack(string fileName, int order)
    {
        if (PlayerPrefs.GetInt(NrPrefsKey.DOWNLOAD_MOVIE, 0) == 0)
        {
            PlayerPrefs.SetInt(NrPrefsKey.DOWNLOAD_MOVIE, 1);
            Mobile_PreDownloadDlg mobile_PreDownloadDlg = (Mobile_PreDownloadDlg)NrTSingleton <FormsManager> .Instance.GetForm(G_ID.PREDOWNLOAD_DLG);

            if (mobile_PreDownloadDlg != null)
            {
                mobile_PreDownloadDlg.PlayMovie();
            }
        }
        Logger.WriteLog(string.Format("Download start : {0}", fileName));
        NPatchLauncherHandler_forInGame.FileDownloadOmniataLog(fileName);
    }
Esempio n. 2
0
 public override void OnStartInstallPack(string fileName, int order)
 {
     Logger.WriteLog(string.Format("Install start : {0}", fileName));
     NPatchLauncherHandler_forInGame.FileDownloadOmniataLog(fileName);
 }