Skip to content

Legacy: PrintMessage routine

Archie_UwU edited this page Nov 19, 2023 · 1 revision

You are reading the documentation of YYToolkit Legacy (v2.x.x) - for documentation on current-gen YYTK, see the Homepage.


Writes output to stdout, without breaking console input / output like regular printf.

Syntax

void PrintMessage(
    Color_t color,
    const char* fmt,
    ...
);

Parameters

color

The color in which the text will be printed. Use CLR_DEFAULT for the default color.

fmt

A format string to be printed - the formatting is same as in printf

... (variadic arguments)

Other arguments, the types to pass may change depending on the format string - same as in printf

Quick Access

Documentation

Writeups

Clone this wiki locally