Minetest  5.4.0
LocalFormspecHandler Struct Reference
+ Inheritance diagram for LocalFormspecHandler:
+ Collaboration diagram for LocalFormspecHandler:

Public Member Functions

 LocalFormspecHandler (const std::string &formname)
 
 LocalFormspecHandler (const std::string &formname, Client *client)
 
void gotText (const StringMap &fields)
 
- Public Member Functions inherited from TextDest
virtual ~TextDest ()=default
 
virtual void gotText (const std::wstring &text)
 

Public Attributes

Clientm_client = nullptr
 
- Public Attributes inherited from TextDest
std::string m_formname
 

Constructor & Destructor Documentation

◆ LocalFormspecHandler() [1/2]

LocalFormspecHandler::LocalFormspecHandler ( const std::string &  formname)
inline

References TextDest::m_formname.

◆ LocalFormspecHandler() [2/2]

LocalFormspecHandler::LocalFormspecHandler ( const std::string &  formname,
Client client 
)
inline

References TextDest::m_formname.

Member Function Documentation

◆ gotText()

void LocalFormspecHandler::gotText ( const StringMap fields)
inlinevirtual

Member Data Documentation

◆ m_client

Client* LocalFormspecHandler::m_client = nullptr

Referenced by gotText().


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