Package ovh.mythmc.social.api.context
Class SocialRendererContext
java.lang.Object
ovh.mythmc.social.api.context.SocialRendererContext
- All Implemented Interfaces:
SocialContext
Represents the rendering context of a message.
SocialRendererContext contains all information required during
the rendering phase of a message, where formatted components are assembled
and prepared for delivery to viewers.
This context is typically used by rendering logic to build the final
Component shown to each Audience.
It includes:
- The
SocialUserwho sent the message - The
ChatChannelthe message belongs to - The set of
viewersreceiving the message - The rendered prefix component
- The plain (unformatted) message content
- The fully formatted message component
- An optional reply message ID
- The unique message ID
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SocialRendererContext
public SocialRendererContext()
-