Exemple #1
0
 private static void GmBoss4UtilInit1ShotTimer(
     AppMain.GMS_BOSS4_1SHOT_TIMER one_shot_timer,
     uint frame)
 {
     AppMain.MTM_ASSERT((object)one_shot_timer);
     one_shot_timer.timer     = frame;
     one_shot_timer.is_active = true;
 }
Exemple #2
0
 // Token: 0x060006E7 RID: 1767 RVA: 0x0003DC4C File Offset: 0x0003BE4C
 private static bool GmBoss4UtilUpdate1ShotTimer(AppMain.GMS_BOSS4_1SHOT_TIMER one_shot_timer)
 {
     AppMain.MTM_ASSERT(one_shot_timer);
     if (!one_shot_timer.is_active)
     {
         return(false);
     }
     if (one_shot_timer.timer != 0U)
     {
         one_shot_timer.timer -= 1U;
         return(false);
     }
     one_shot_timer.is_active = false;
     return(true);
 }