benilla-re systems structs docs

s_duelCountdownSeconds

global · ui

Address
0xb73248 · 4 bytes, up to 0xb7324b
Type
uint32_t
Meaning
Holds the seconds left of the duel countdown
Confidence
verified, proof one
Finding
ui/duel#countdown-and-result

Finding: Countdown and result in ui: duels

SMSG_DUEL_COUNTDOWN carries the time in milliseconds; the handler stores it divided by 1000 as the seconds and starts the ProcessCountdown timer: each second it prints DUEL_COUNTDOWN with the remaining seconds as a system line in the chat and re-arms itself until the count is 0. SMSG_DUEL_COMPLETE ends a duel that is current: a flag of 0 shows ERR_DUEL_CANCELLED (310); DUEL_FINISHED (383) is signalled, the flag GUID is cleared and the countdown timer is killed. SMSG_DUEL_WINNER prints DUEL_WINNER_KNOCKOUT for a flag of 0, DUEL_WINNER_RETREAT otherwise, with the two names, as a system line.

The derivation is in the doc.