// 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: 0x0600099C RID: 2460 RVA: 0x000568F0 File Offset: 0x00054AF0 private static int dmSaveIsDataLoad(AppMain.DMS_SAVE_MAIN_WORK main_work) { for (int i = 0; i < 2; i++) { if (!AmFs.amFsIsComplete(main_work.arc_cmn_amb_fs[i])) { return(0); } } return(1); }
// 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; } }
// Token: 0x06002550 RID: 9552 RVA: 0x0014C5C0 File Offset: 0x0014A7C0 private void fileLoading() { if (!AmFs.amFsIsComplete(this.pause_amb)) { return; } this.m_file[2] = AmFs.readAMBFile(this.pause_amb); AppMain.GsEnvGetLanguage(); if (!AmFs.amFsIsComplete(this.lang_amb)) { return; } this.m_file[3] = AmFs.readAMBFile(this.lang_amb); this.m_flag[4] = true; base.DetachTask(); }
// Token: 0x0600205A RID: 8282 RVA: 0x0013E04C File Offset: 0x0013C24C private void fileLoading() { bool flag = true; for (int i = 0; i < 2; i++) { if (!AmFs.amFsIsComplete(this.m_fs[i])) { flag = false; break; } } if (flag) { for (int j = 0; j < 2; j++) { this.m_file[j] = this.m_fs[j]; } for (uint num = 0U; num < 6U; num += 1U) { AppMain.CMain.SLocalUnfoldTable slocalUnfoldTable = AppMain.CMain.c_local_unfold_table[(int)((UIntPtr)num)]; int file = (int)slocalUnfoldTable.file; int num2 = 2; if (file < num2) { string text; AmbChunk ambChunk = AmBind.Get(this.m_fs[(int)slocalUnfoldTable.file], (int)slocalUnfoldTable.index, out text); object obj; if (AppMain.AoActIsAma(ambChunk.array, ambChunk.offset)) { obj = A2S.readAMAFile(ambChunk); } else { obj = AmFs.readAMBFile(ambChunk); } this.m_file[(int)((UIntPtr)num)] = obj; } } this.m_flag[4] = true; this.m_pTaskLink.DetachTask(); } }