Skip to content
Version 2.35.0
↓ Get the launcher

ChatPlaceholder record

One raw slot of a hypertext chat message (PlaceHolder), decoded from its nested proto. Which members are set depends on Type (see each ChatPlaceholderType member). Most plugins want the ready-to-render Segments instead; this is the lossless source they were built from.

public record ChatPlaceholder
name description
ChatPlaceholder() The default constructor.
CharId { get; set; } Player char id (Player) or the home owner’s char id (Homeland); 0 otherwise.
CommunityId { get; set; } Homeland community id (Homeland); 0 otherwise.
HomelandId { get; set; } Homeland id (Homeland); 0 otherwise.
Position { get; set; } Position payload (ScenePosition); null otherwise. SceneName is filled in on the delivered message when the scene table knows the id.
Rank { get; set; } Fish size (FishItem) or rank (FishRank); 0 otherwise.
Text { get; set; } Text payload: String text, Player / Homeland / Blueprint / angler / master name. Raw wire text — NOT sanitised (strip rich tags before rendering it yourself). Empty when the type carries none.
Type { get; set; } Slot kind.
Value { get; set; } Number payload: Val value, Item/Fish config id, Union building id, Buff id, Timestamp (Unix seconds), MasterMode season. 0 when the type carries none.