// Token: 0x060002B8 RID: 696 RVA: 0x00016DF4 File Offset: 0x00014FF4
    private AppMain.DME_LOGO_COM_LOAD_STATE DmLogoComLoadFile(AppMain.DMS_LOGO_COM_LOAD_CONTEXT context)
    {
        switch (context.state)
        {
        case AppMain.DME_LOGO_COM_LOAD_STATE.DMD_LOGO_COM_LOAD_STATE_LOAD_WAIT:
            context.file_path_buf = context.file_info.file_path;
            context.fs_req        = AmFs.amFsReadBackground(context.file_path_buf);
            if (context.fs_req != null)
            {
                context.state = AppMain.DME_LOGO_COM_LOAD_STATE.DMD_LOGO_COM_LOAD_STATE_LOADING;
            }
            break;

        case AppMain.DME_LOGO_COM_LOAD_STATE.DMD_LOGO_COM_LOAD_STATE_LOADING:
            if (AmFs.amFsIsComplete(context.fs_req))
            {
                if (context.file_info.post_func != null)
                {
                    context.file_info.post_func(context);
                }
                AmFs.amFsClearRequest(context.fs_req);
                context.fs_req = null;
                context.state  = AppMain.DME_LOGO_COM_LOAD_STATE.DMD_LOGO_COM_LOAD_STATE_COMPLETE;
            }
            break;
        }
        return(context.state);
    }
        // Token: 0x06002058 RID: 8280 RVA: 0x0013DFB8 File Offset: 0x0013C1B8
        private void fileLoadingStart()
        {
            this.m_fs[0] = AmFs.amFsReadBackground(AppMain.c_global);
            int num = AppMain.GsEnvGetLanguage();

            this.m_fs[1]   = AmFs.amFsReadBackground(AppMain.c_lang[num]);
            this.m_flag[3] = true;
            this.m_pTaskLink.AttachTask("dmBuyScreen::Load", AppMain.c_priority, AppMain.c_user, AppMain.c_attribute);
            base.SetProc(this.fileLoading);
        }
示例#3
0
        // Token: 0x0600254F RID: 9551 RVA: 0x0014C52C File Offset: 0x0014A72C
        private void fileLoadingStart()
        {
            this.m_file[0] = A2S.readAMAFile("G_COM/MENU/G_PAUSE.AMA");
            this.pause_amb = AmFs.amFsReadBackground("G_COM/MENU/G_PAUSE.AMB");
            this.m_file[1] = A2S.readAMAFile("G_COM/MENU/G_PAUSE_L.AMA");
            int num = AppMain.GsEnvGetLanguage();

            this.lang_amb  = AmFs.amFsReadBackground(file.c_lang_amb[num]);
            this.m_flag[0] = true;
            this.m_flag[3] = true;
            base.AttachTask("gmPauseMenu.Load", 28928U, 0U, 0U);
            this.m_procCount.SetProc(this.fileLoading);
        }
示例#4
0
 // Token: 0x060009F0 RID: 2544 RVA: 0x00059B78 File Offset: 0x00057D78
 private static void gsInitProcLoadLoadingFile(AppMain.GSS_INIT_WORK work)
 {
     if (work.fs == null)
     {
         work.fs = AmFs.amFsReadBackground("DEMO/LOADING/D_LOADING.AMB");
     }
     if (AmFs.amFsIsComplete(work.fs))
     {
         AppMain.DmLoadingBuild(work.fs);
         AmFs.amFsClearRequest(work.fs);
         work.fs   = null;
         work.proc = AppMain.gsInitProcBuildLoadingFile;
     }
 }
示例#5
0
 // Token: 0x0600098A RID: 2442 RVA: 0x00055D1F File Offset: 0x00053F1F
 private static void dmSaveLoadRequest(AppMain.DMS_SAVE_MAIN_WORK main_work)
 {
     main_work.arc_cmn_amb_fs[0] = AmFs.amFsReadBackground("DEMO/CMN/D_CMN_WIN.AMB");
     main_work.arc_cmn_amb_fs[1] = AmFs.amFsReadBackground(AppMain.dm_save_menu_cmn_lng_amb_name_tbl[AppMain.GsEnvGetLanguage()]);
     main_work.proc_menu_update  = AppMain.dmSaveProcLoadWait;
 }