yaze 0.2.0
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::app::editor::DictionaryEntry Struct Reference

#include <message_data.h>

Public Member Functions

 DictionaryEntry ()=default
 
 DictionaryEntry (uint8_t i, std::string s)
 
bool ContainedInString (std::string s)
 
std::string ReplaceInstancesOfIn (std::string s)
 

Public Attributes

uint8_t ID
 
std::string Contents
 
std::vector< uint8_t > Data
 
int Length
 
std::string Token
 

Detailed Description

Definition at line 47 of file message_data.h.

Constructor & Destructor Documentation

◆ DictionaryEntry() [1/2]

yaze::app::editor::DictionaryEntry::DictionaryEntry ( )
default

◆ DictionaryEntry() [2/2]

yaze::app::editor::DictionaryEntry::DictionaryEntry ( uint8_t i,
std::string s )
inline

Definition at line 55 of file message_data.h.

References Contents, Data, yaze::app::editor::DICTIONARYTOKEN, ID, yaze::app::editor::ParseMessageToData(), and Token.

Here is the call graph for this function:

Member Function Documentation

◆ ContainedInString()

bool yaze::app::editor::DictionaryEntry::ContainedInString ( std::string s)
inline

Definition at line 61 of file message_data.h.

References Contents.

◆ ReplaceInstancesOfIn()

std::string yaze::app::editor::DictionaryEntry::ReplaceInstancesOfIn ( std::string s)
inline

Definition at line 65 of file message_data.h.

References Contents, and Token.

Member Data Documentation

◆ ID

uint8_t yaze::app::editor::DictionaryEntry::ID

Definition at line 48 of file message_data.h.

Referenced by DictionaryEntry().

◆ Contents

std::string yaze::app::editor::DictionaryEntry::Contents

Definition at line 49 of file message_data.h.

Referenced by ContainedInString(), DictionaryEntry(), and ReplaceInstancesOfIn().

◆ Data

std::vector<uint8_t> yaze::app::editor::DictionaryEntry::Data

Definition at line 50 of file message_data.h.

Referenced by DictionaryEntry().

◆ Length

int yaze::app::editor::DictionaryEntry::Length

Definition at line 51 of file message_data.h.

◆ Token

std::string yaze::app::editor::DictionaryEntry::Token

Definition at line 52 of file message_data.h.

Referenced by DictionaryEntry(), and ReplaceInstancesOfIn().


The documentation for this struct was generated from the following file: