benilla-re systems structs docs

TabardModel::CycleSlot

function · ui · primitive

Address
0x502ac0 · 75 bytes, up to 0x502b0a
Signature
void __thiscall (TabardModel *this, int32_t slot, int32_t delta)
Meaning
Moves one tabard design value by delta with wrap-around and repaints, doing nothing for a delta of the count or more
Confidence
verified, proof one
Finding
ui/tabard#cycling-a-variation

Finding: Cycling a variation in ui: the guild tabard designer

CycleVariation(index, delta) moves one design value by delta with wrap-around. The index is 1 to 5, in the order above. Both numbers are truncated toward zero. A first argument outside 1 to 5 raises Invalid variationIndex in CycleVariation, and a missing or non-numeric argument raises Usage: CycleVariation(variationIndex, delta). A delta whose size reaches the count changes nothing and does not repaint. Otherwise the value becomes (v + count + delta) modulo the count, then the model is repainted.

The derivation is in the doc.

Callers 1

Callees 1

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