Kind struct · Area Game.Cosmetic
A palette is a list of PACKED RGB INTEGERS - 8025436 is 0x7A75DC, so red is (v >> 16) & 0xFF, green (v >> 8) & 0xFF, blue v & 0xFF.
A character uses six colours. A palette may carry fewer, or none: the client fills whatever is missing from the character's BREED DEFAULTS, looking the breed up in its game data. So an empty palette means "the breed's own colours", not "no colours", and you should apply the same fallback rather than rendering a gap.
The order is positional - colour 1 through colour 6 - not a set.
Not sent on its own — it is a record carried by other messages, never sent alone. proven
Used by
CharacterColors Fields
#FieldTypeMeaningYou set it 1colorsrepeated int32The palette's colours, packed RGB, in slot order.never
- summary: One set of packed RGB colours applied to a character.
- area: Game.Cosmetic
- 77 vues