Luanti 5.10.0-dev
 
Loading...
Searching...
No Matches
ChatPrompt::HistoryEntry Struct Reference
+ Collaboration diagram for ChatPrompt::HistoryEntry:

Public Member Functions

 HistoryEntry (const std::wstring &line)
 
bool operator== (const HistoryEntry &other)
 
bool operator!= (const HistoryEntry &other)
 

Public Attributes

std::wstring line
 
std::optional< std::wstring > saved
 

Constructor & Destructor Documentation

◆ HistoryEntry()

ChatPrompt::HistoryEntry::HistoryEntry ( const std::wstring & line)
inline

Member Function Documentation

◆ operator!=()

bool ChatPrompt::HistoryEntry::operator!= ( const HistoryEntry & other)
inline

◆ operator==()

bool ChatPrompt::HistoryEntry::operator== ( const HistoryEntry & other)

References line, and saved.

Member Data Documentation

◆ line

std::wstring ChatPrompt::HistoryEntry::line

Referenced by operator==().

◆ saved

std::optional<std::wstring> ChatPrompt::HistoryEntry::saved

Referenced by operator==().


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