Message
This article is a stub or placeholder. The BattleMaster Wiki is a collaborative effort, and you can help expand it by adding to this article.
==BattleMaster Menu Messages==
Messages are really simple things. They only have three elements: A sender, a context and the message text.
Every message always has a context. There is never a message without context. Contexts are also never implicitly set, clients always have to explicitly choose a context. Contexts are always specified using a string and a number.
Contexts are much like mailboxes or folders.
Contexts
The string in a context identifier is one of the below.
- news
- Global news. This context has no IDs and will work the same no matter which ID is supplied (i.e. the ID is ignored). It is read-only for all players.
- info
- Player-specific information. ID is the PlayerID. Read-only, everything in here is messages from the game engine. Stuff like completed character sales, etc. goes here.
- local
- Local chat and announcements. ID is the location ID and this context is available for all locations the player has licenses in.
- player
- Every player has exactly one personal context. Players can send into the player context of any other player, but only read from their own player context. The context number is the player ID.
- combat
- Every combat is it's own context. Only participants and spectators can send and read these contexts. The context number is the combat ID.