Skip to content

BuiltinMessages

ameharoo edited this page Aug 15, 2024 · 2 revisions

Built-in Messages

EN RU

Applicable since version 1.0.0

These messages are built into Mess, and each of them must be implemented for every backend. Otherwise, an exception NotImplementedException will be thrown when attempting to render a message, as the message is fetched from base.py during message creation in the generator if not defined for the specific backend.

All messages in base.py throw a NotImplementedException in the methods base.Message::render and base.Message::get_render_template.

💁 These built-in messages are described in messages/base.py.

Message Description Variative Template
Message Base message, which can be variative, template, and user-defined. Serves as a foundation for other messages. no no
Int8 Message representing an 8-bit signed integer. no no
Int16 Message representing a 16-bit signed integer. no no
Int32 Message representing a 32-bit signed integer. no no
Uint8 Message representing an 8-bit unsigned integer. no no
Uint16 Message representing a 16-bit unsigned integer. no no
Uint32 Message representing a 32-bit unsigned integer. no no
Float Message representing a floating-point number. no no
Fixed16 Message representing a fixed-point number with 16-bit precision. no no
Fixed32 Message representing a fixed-point number with 32-bit precision. no no
VarArray Message representing a variable-length array of elements. It is variative and template. yes yes
Clone this wiki locally