#include <message_data.h>
Public Member Functions | |
| MessageData ()=default | |
| MessageData (int id, int address, const std::string &rawString, const std::vector< uint8_t > &rawData, const std::string &parsedString, const std::vector< uint8_t > &parsedData) | |
| MessageData (const MessageData &other) | |
| std::string | OptimizeMessageForDictionary (std::string_view message_string, const std::vector< DictionaryEntry > &dictionary) |
| void | SetMessage (const std::string &message, const std::vector< DictionaryEntry > &dictionary) |
Public Attributes | |
| int | ID = 0 |
| int | Address = 0 |
| std::string | RawString |
| std::string | ContentsParsed |
| std::vector< uint8_t > | Data |
| std::vector< uint8_t > | DataParsed |
Definition at line 229 of file message_data.h.
|
default |
|
inline |
Definition at line 238 of file message_data.h.
|
inline |
Definition at line 250 of file message_data.h.
References Address, ContentsParsed, Data, DataParsed, ID, and RawString.
|
inline |
Definition at line 263 of file message_data.h.
References yaze::editor::CHEESE, and yaze::editor::ReplaceAllDictionaryWords().
Referenced by SetMessage().

|
inline |
Definition at line 293 of file message_data.h.
References ContentsParsed, OptimizeMessageForDictionary(), and RawString.

| int yaze::editor::MessageData::ID = 0 |
Definition at line 230 of file message_data.h.
Referenced by yaze::cli::anonymous_namespace{message_doctor_commands.cc}::CheckCorruptionPatterns(), yaze::editor::MessageEditor::DrawCurrentMessage(), yaze::editor::MessageEditor::DrawExpandedMessageSettings(), yaze::editor::MessageEditor::DrawMessageList(), yaze::editor::MessageEditor::Initialize(), MessageData(), yaze::editor::MessageEditor::OpenMessageById(), yaze::editor::ParseSingleMessage(), yaze::cli::anonymous_namespace{message_doctor_commands.cc}::ValidateControlCodes(), yaze::cli::anonymous_namespace{message_doctor_commands.cc}::ValidateDictionaryRefs(), yaze::cli::anonymous_namespace{message_doctor_commands.cc}::ValidateLineWidths(), and yaze::cli::anonymous_namespace{message_doctor_commands.cc}::ValidateTerminators().
| int yaze::editor::MessageData::Address = 0 |
Definition at line 231 of file message_data.h.
Referenced by yaze::editor::MessageEditor::DrawExpandedMessageSettings(), MessageData(), and yaze::editor::ParseSingleMessage().
| std::string yaze::editor::MessageData::RawString |
Definition at line 232 of file message_data.h.
Referenced by MessageData(), yaze::editor::ParseSingleMessage(), SetMessage(), and yaze::editor::MessageEditor::UpdateCurrentMessageFromText().
| std::string yaze::editor::MessageData::ContentsParsed |
Definition at line 233 of file message_data.h.
Referenced by MessageData(), yaze::editor::ParseSingleMessage(), SetMessage(), yaze::editor::MessageEditor::UpdateCurrentMessageFromText(), and yaze::cli::anonymous_namespace{message_doctor_commands.cc}::ValidateLineWidths().
| std::vector<uint8_t> yaze::editor::MessageData::Data |
Definition at line 234 of file message_data.h.
Referenced by yaze::cli::anonymous_namespace{message_doctor_commands.cc}::CheckCorruptionPatterns(), yaze::editor::MessageEditor::DrawCurrentMessage(), yaze::editor::MessagePreview::DrawMessagePreview(), yaze::editor::MessageEditor::EnsureFontTexturesReady(), yaze::editor::MessageEditAction::MemoryUsage(), MessageData(), yaze::editor::ParseSingleMessage(), yaze::editor::MessageEditor::UpdateCurrentMessageFromText(), yaze::cli::anonymous_namespace{message_doctor_commands.cc}::ValidateControlCodes(), yaze::cli::anonymous_namespace{message_doctor_commands.cc}::ValidateDictionaryRefs(), and yaze::cli::anonymous_namespace{message_doctor_commands.cc}::ValidateTerminators().
| std::vector<uint8_t> yaze::editor::MessageData::DataParsed |
Definition at line 235 of file message_data.h.
Referenced by MessageData(), and yaze::editor::ParseSingleMessage().