Skip to main content

steel_registry/generated/
vanilla_chat_types.rs

1use crate :: chat_type :: { ChatType , ChatTypeDecoration , ChatTypeRegistry , ChatStyle , } ; use steel_utils :: Identifier ; pub static EMOTE_COMMAND : ChatType = ChatType { key : Identifier :: vanilla_static ("emote_command") , chat : ChatTypeDecoration { translation_key : "chat.type.emote" , parameters : & ["sender" , "content"] , style : None , } , narration : ChatTypeDecoration { translation_key : "chat.type.emote" , parameters : & ["sender" , "content"] , style : None , } , } ; pub static TEAM_MSG_COMMAND_OUTGOING : ChatType = ChatType { key : Identifier :: vanilla_static ("team_msg_command_outgoing") , chat : ChatTypeDecoration { translation_key : "chat.type.team.sent" , parameters : & ["target" , "sender" , "content"] , style : None , } , narration : ChatTypeDecoration { translation_key : "chat.type.text.narrate" , parameters : & ["sender" , "content"] , style : None , } , } ; pub static CHAT : ChatType = ChatType { key : Identifier :: vanilla_static ("chat") , chat : ChatTypeDecoration { translation_key : "chat.type.text" , parameters : & ["sender" , "content"] , style : None , } , narration : ChatTypeDecoration { translation_key : "chat.type.text.narrate" , parameters : & ["sender" , "content"] , style : None , } , } ; pub static MSG_COMMAND_INCOMING : ChatType = ChatType { key : Identifier :: vanilla_static ("msg_command_incoming") , chat : ChatTypeDecoration { translation_key : "commands.message.display.incoming" , parameters : & ["sender" , "content"] , style : Some (ChatStyle { color : Some ("gray") , bold : None , italic : Some (true) , underlined : None , strikethrough : None , obfuscated : None , }) , } , narration : ChatTypeDecoration { translation_key : "chat.type.text.narrate" , parameters : & ["sender" , "content"] , style : None , } , } ; pub static TEAM_MSG_COMMAND_INCOMING : ChatType = ChatType { key : Identifier :: vanilla_static ("team_msg_command_incoming") , chat : ChatTypeDecoration { translation_key : "chat.type.team.text" , parameters : & ["target" , "sender" , "content"] , style : None , } , narration : ChatTypeDecoration { translation_key : "chat.type.text.narrate" , parameters : & ["sender" , "content"] , style : None , } , } ; pub static MSG_COMMAND_OUTGOING : ChatType = ChatType { key : Identifier :: vanilla_static ("msg_command_outgoing") , chat : ChatTypeDecoration { translation_key : "commands.message.display.outgoing" , parameters : & ["target" , "content"] , style : Some (ChatStyle { color : Some ("gray") , bold : None , italic : Some (true) , underlined : None , strikethrough : None , obfuscated : None , }) , } , narration : ChatTypeDecoration { translation_key : "chat.type.text.narrate" , parameters : & ["sender" , "content"] , style : None , } , } ; pub static SAY_COMMAND : ChatType = ChatType { key : Identifier :: vanilla_static ("say_command") , chat : ChatTypeDecoration { translation_key : "chat.type.announcement" , parameters : & ["sender" , "content"] , style : None , } , narration : ChatTypeDecoration { translation_key : "chat.type.text.narrate" , parameters : & ["sender" , "content"] , style : None , } , } ; pub fn register_chat_types (registry : & mut ChatTypeRegistry) { registry . register (& EMOTE_COMMAND) ; registry . register (& TEAM_MSG_COMMAND_OUTGOING) ; registry . register (& CHAT) ; registry . register (& MSG_COMMAND_INCOMING) ; registry . register (& TEAM_MSG_COMMAND_INCOMING) ; registry . register (& MSG_COMMAND_OUTGOING) ; registry . register (& SAY_COMMAND) ; }