#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 201 of file message_data.h.
|
default |
|
inline |
Definition at line 210 of file message_data.h.
|
inline |
Definition at line 222 of file message_data.h.
References Address, ContentsParsed, Data, DataParsed, ID, and RawString.
|
inline |
Definition at line 235 of file message_data.h.
References yaze::editor::CHEESE, and yaze::editor::ReplaceAllDictionaryWords().
Referenced by SetMessage(), and yaze::test::TEST_F().
|
inline |
Definition at line 265 of file message_data.h.
References ContentsParsed, OptimizeMessageForDictionary(), and RawString.
Referenced by yaze::test::TEST_F().
int yaze::editor::MessageData::ID = 0 |
Definition at line 202 of file message_data.h.
Referenced by yaze::editor::MessageEditor::DrawCurrentMessage(), yaze::editor::MessageEditor::DrawExpandedMessageSettings(), yaze::editor::MessageEditor::Initialize(), MessageData(), yaze::editor::ParseSingleMessage(), yaze::test::TEST_F(), yaze::test::TEST_F(), yaze::test::TEST_F(), and yaze::test::TEST_F().
int yaze::editor::MessageData::Address = 0 |
Definition at line 203 of file message_data.h.
Referenced by yaze::editor::MessageEditor::DrawExpandedMessageSettings(), MessageData(), yaze::editor::ParseSingleMessage(), and yaze::test::TEST_F().
std::string yaze::editor::MessageData::RawString |
Definition at line 204 of file message_data.h.
Referenced by MessageData(), yaze::editor::ParseSingleMessage(), SetMessage(), and yaze::test::TEST_F().
std::string yaze::editor::MessageData::ContentsParsed |
Definition at line 205 of file message_data.h.
Referenced by MessageData(), yaze::editor::ParseSingleMessage(), SetMessage(), and yaze::test::TEST_F().
std::vector<uint8_t> yaze::editor::MessageData::Data |
Definition at line 206 of file message_data.h.
Referenced by yaze::editor::MessageEditor::DrawCurrentMessage(), yaze::editor::MessagePreview::DrawMessagePreview(), MessageData(), yaze::editor::ParseMessageData(), yaze::editor::ParseSingleMessage(), yaze::test::TEST_F(), yaze::test::TEST_F(), yaze::test::TEST_F(), and yaze::test::TEST_F().
std::vector<uint8_t> yaze::editor::MessageData::DataParsed |
Definition at line 207 of file message_data.h.
Referenced by MessageData(), and yaze::editor::ParseSingleMessage().