SetColourClass
function · console · orchestration
- Address
0x6395a0· 22 bytes, up to0x6395b5- Signature
void __fastcall (uint32_t class, uint32_t unused, uint32_t arg3)- Meaning
- Stores a colour in the table when the class is below 9
- Confidence
- verified, proof one
- Finding
- console/screen#colour-classes
Finding: Colour classes in console: screen
A line's class indexes the colour table 0xc4ead8: 0 default, 1 input, 2 echo, 3 error, 4 warning, 5
global, 6 admin, 7 selection highlight, 8 background. The table starts as ffffffff for 0, 1, 5 and 6,
ff808080 for echo, ffff0000 for error, ffffff00 for warning, 80ffffff for the highlight and
c0000000 for the background. fontcolor <class> <r> <g> <b> sets a class's colour from 0 to 255
channels (alpha 0xff); bgcolor and highlightcolor take <a> <r> <g> <b> for classes 8 and 7.
The derivation is in the doc.
Callers 3
- ConsoleCommandFontColor console
- ConsoleCommandBgColor console
- ConsoleCommandHighlightColor console
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.