class

MTimerStatics

Module
Game
Header
#include "Game/MTimerStatics.h"
Namespace
Mowo
Reflection
Reflected by MowoHeaderTool

Public functions

ReturnsNameDescription
int32_tSetTimerByPinpin name, or a non-positive delay).
boolClearTimer
boolIsTimerActive
floatGetTimerRemainingSeconds until the next fire; -1 for an unknown or expired handle.
boolPauseTimerA 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.
boolUnPauseTimer
boolIsTimerPaused
int32_tClearAllTimersForActorCancels every timer this class armed for target — the counterpart to destroying an actor mid-countdown.
voidSweepDeadTimersDrops 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) const

GetTimerRemaining

C++
float GetTimerRemaining(int32_t handle) const

Seconds 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) const

ClearAllTimersForActor

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