benilla-re systems structs docs

s_double406fe00000000000

global · ui

Address
0x806498 · 8 bytes, up to 0x80649f
Type
const double
Meaning
Holds the double 255 (0x406fe00000000000)
Confidence
verified, proof one
Finding
ui/chatcolors#changechatcolor

Finding: ChangeChatColor in ui: chat colours

ChangeChatColor(name, r, g, b) needs a string and three numbers (otherwise it raises the usage error). Each colour is int(255.0 * x) truncated, with no clamp; the low byte is stored. The name is matched without case against the 94 registry names and then against the extra names, and both matches are written when both exist. If any entry matched, the function fires UPDATE_CHAT_COLOR with the name given and the three stored bytes times 1/255 as numbers. It returns no values.

The derivation is in the doc.