class
MTimerStatics
- Module
- Game
- Header
#include "Game/MTimerStatics.h"- Namespace
Mowo- Reflection
- Reflected by MowoHeaderTool
Public functions
| Returns | Name | Description |
|---|---|---|
int32_t | SetTimerByPin | pin name, or a non-positive delay). |
bool | ClearTimer | |
bool | IsTimerActive | |
float | GetTimerRemaining | Seconds until the next fire; -1 for an unknown or expired handle. |
bool | PauseTimer | A paused timer holds its remaining time and resumes from it; it is still active (it can be cleared or queried) until it fires or is cleared. |
bool | UnPauseTimer | |
bool | IsTimerPaused | |
int32_t | ClearAllTimersForActor | Cancels every timer this class armed for target — the counterpart to destroying an actor mid-countdown. |
void | SweepDeadTimers | Drops table rows whose world or target is gone. |
Function details
SetTimerByPin
C++
int32_t SetTimerByPin(AActor* target, const std::string& pinName, float seconds, bool looping)pin name, or a non-positive delay).
ClearTimer
C++
bool ClearTimer(int32_t handle)IsTimerActive
C++
bool IsTimerActive(int32_t handle) constGetTimerRemaining
C++
float GetTimerRemaining(int32_t handle) constSeconds until the next fire; -1 for an unknown or expired handle.
PauseTimer
C++
bool PauseTimer(int32_t handle)A paused timer holds its remaining time and resumes from it; it is still active (it can be cleared or queried) until it fires or is cleared.
UnPauseTimer
C++
bool UnPauseTimer(int32_t handle)IsTimerPaused
C++
bool IsTimerPaused(int32_t handle) constClearAllTimersForActor
C++
int32_t ClearAllTimersForActor(AActor* target)Cancels every timer this class armed for target — the counterpart to destroying an actor mid-countdown.
SweepDeadTimers
C++
static void SweepDeadTimers()Drops table rows whose world or target is gone. The timer manager forgets its own entries with the world; this sweeps the id table that outlives it, so a fresh level does not inherit stale handles.
Generated from Game/MTimerStatics.h via game.json · Nov 5, 2026Version 1.0.0