benilla-re systems structs docs

CGItem_C::GetRemainingMs

function · objectlayer · primitive

Address
0x5d9c60 · 40 bytes, up to 0x5d9c87
Meaning
Returns an item's remaining ms before expiry, or 0
Confidence
verified, proof one
Finding
objectlayer/items#item-and-enchantment-timers

Finding: Item and enchantment timers in objectlayer: items

An item keeps one expiry and seven enchantment expiries as clock times in milliseconds. Setting one stores now plus 1000 times the given count, or 0 for a count of 0 or less. Reading one gives the expiry minus now while that difference is positive, else 0.

The derivation is in the doc.

Callers 1

Callees 1

Calls and jumps by a bare address, from tables/calls.tsv.