Example #1
0
 private static void gmBoss1InitFlashScreen()
 {
     AppMain.OBS_OBJECT_WORK             work = AppMain.GMM_EFFECT_CREATE_WORK((AppMain.TaskWorkFactoryDelegate)(() => (object)new AppMain.GMS_BOSS1_FLASH_SCREEN_WORK()), (AppMain.OBS_OBJECT_WORK)null, (ushort)0, "boss1_flash_scr");
     AppMain.GMS_BOSS1_FLASH_SCREEN_WORK s1FlashScreenWork = (AppMain.GMS_BOSS1_FLASH_SCREEN_WORK)work;
     work.disp_flag |= 4128U;
     work.flag      |= 16U;
     AppMain.GmBsCmnInitFlashScreen(s1FlashScreenWork.flash_work, 4f, 5f, 30f);
     work.ppFunc = new AppMain.MPP_VOID_OBS_OBJECT_WORK(AppMain.gmBoss1FlashScreenMain);
 }
Example #2
0
 private static void gmBoss1FlashScreenMain(AppMain.OBS_OBJECT_WORK obj_work)
 {
     AppMain.GMS_BOSS1_FLASH_SCREEN_WORK s1FlashScreenWork = (AppMain.GMS_BOSS1_FLASH_SCREEN_WORK)obj_work;
     if (AppMain.GmBsCmnUpdateFlashScreen(s1FlashScreenWork.flash_work) == 0)
     {
         return;
     }
     AppMain.GmBsCmnClearFlashScreen(s1FlashScreenWork.flash_work);
     obj_work.flag |= 4U;
 }