#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 | ToString () |
std::string | OptimizeMessageForDictionary (std::string messageString, const std::vector< DictionaryEntry > &dictionary) |
void | SetMessage (const std::string &message, const std::vector< DictionaryEntry > &dictionary) |
Public Attributes | |
int | ID |
int | Address |
std::string | RawString |
std::string | ContentsParsed |
std::vector< uint8_t > | Data |
std::vector< uint8_t > | DataParsed |
Definition at line 89 of file message_data.h.
|
default |
|
inline |
Definition at line 98 of file message_data.h.
|
inline |
Definition at line 110 of file message_data.h.
References Address, ContentsParsed, Data, DataParsed, ID, and RawString.
|
inline |
Definition at line 119 of file message_data.h.
References ContentsParsed, and ID.
|
inline |
Definition at line 123 of file message_data.h.
References yaze::app::editor::CHEESE, and yaze::app::editor::ReplaceAllDictionaryWords().
Referenced by SetMessage().
|
inline |
Definition at line 150 of file message_data.h.
References ContentsParsed, OptimizeMessageForDictionary(), and RawString.
int yaze::app::editor::MessageData::ID |
Definition at line 90 of file message_data.h.
Referenced by yaze::app::editor::MessageEditor::DrawCurrentMessage(), MessageData(), and ToString().
int yaze::app::editor::MessageData::Address |
Definition at line 91 of file message_data.h.
Referenced by MessageData().
std::string yaze::app::editor::MessageData::RawString |
Definition at line 92 of file message_data.h.
Referenced by MessageData(), and SetMessage().
std::string yaze::app::editor::MessageData::ContentsParsed |
Definition at line 93 of file message_data.h.
Referenced by MessageData(), SetMessage(), and ToString().
std::vector<uint8_t> yaze::app::editor::MessageData::Data |
Definition at line 94 of file message_data.h.
Referenced by yaze::app::editor::MessageEditor::DrawCurrentMessage(), yaze::app::editor::MessageEditor::DrawMessagePreview(), and MessageData().
std::vector<uint8_t> yaze::app::editor::MessageData::DataParsed |
Definition at line 95 of file message_data.h.
Referenced by MessageData().