TabardModel::CycleVariation
function · ui · primitive
- Address
0x502ca0· 288 bytes, up to0x502dbf- Signature
int __fastcall (lua_State *L)- Meaning
- Cycles one of the five design values by a delta and returns nothing
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- 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 0
None by a direct call or jump.
Callees 9
- __ftol crt
- TabardModel::CycleSlot ui
- lua_settop lua
- lua_type lua
- lua_isnumber lua
- lua_tonumber lua
- lua_touserdata lua
- lua_rawgeti lua
- luaL_error lua
Calls and jumps by a bare address, from tables/calls.tsv.