ChatHypertext record
The structured content of a hypertext chat message (ChatMsgInfo.chat_hypertext, msg_type Hypertext → ItemLink): position / item / player / home / blueprint shares and the server’s templated notices (dungeon loot rolls, guild events). Segments is the message as the game displays it, already split into plain-text and link runs, with names resolved through the game’s live (localised) tables. Delivered on Hypertext; init-only so it can grow without a binary break.
public record ChatHypertextPublic Members
Section titled “Public Members”| name | description |
|---|---|
| ChatHypertext() | The default constructor. |
| ConfigId { get; set; } | The ChatHyperlink table row (e.g. 3000002 position share, 3000001 item share, 3001001 personal space, 6000001 home, 6000002 blueprint, 1043011/1043013 loot rolls). |
| IsShare { get; set; } | True for a player SHARE (position, item, personal space, home, blueprint, fishing, master seal) — text the sender typed plus one link; false for a server/system notice built from a template. |
| Kind { get; set; } | What the message’s main link is: the kind of a share, or Other for a templated notice (whose player/item segments still carry their own kinds). Never Text. |
| Placeholders { get; set; } | The raw wire slots the segments were built from, in wire order. Never null. |
| PlainText { get; set; } | All segment texts joined — the message as one plain string (e.g. for copy, search or a log line). |
| Segments { get; set; } | The display, in order: Text runs and link runs. Adjacent text is merged and empty runs are dropped. Every Text is sanitised the way the game sanitises chat (all rich tags except <sprite=N> removed, line breaks and backslashes dropped). Never null. Empty only on a message the framework could not lay out (then Text is the fallback). |
See Also
Section titled “See Also”- namespace Stellar.Abstractions.Domain