ChatRoomMessageDefaultMetadataExtractor
Callable
Parameters
data: ServerChatRoomMessage
The message to parse.
SenderCharacter: Character
The resolved character that sent that message.
Returns { metadata: IChatRoomMessageMetadata; substitutions: CommonSubtituteSubstitution[] }
metadata: IChatRoomMessageMetadata
substitutions: CommonSubtituteSubstitution[]
Extracts the metadata and message substitutions from a message's dictionary.