Luanti 5.10.0-dev
 
Loading...
Searching...
No Matches
NodeMetadataFormSource Class Reference
+ Inheritance diagram for NodeMetadataFormSource:
+ Collaboration diagram for NodeMetadataFormSource:

Public Member Functions

 NodeMetadataFormSource (ClientMap *map, v3s16 p)
 
const std::string & getForm () const
 
virtual std::string resolveText (const std::string &str)
 
- Public Member Functions inherited from IFormSource
virtual ~IFormSource ()=default
 

Public Attributes

ClientMapm_map
 
v3s16 m_p
 

Constructor & Destructor Documentation

◆ NodeMetadataFormSource()

NodeMetadataFormSource::NodeMetadataFormSource ( ClientMap * map,
v3s16 p )
inline

Member Function Documentation

◆ getForm()

const std::string & NodeMetadataFormSource::getForm ( ) const
inlinevirtual

Implements IFormSource.

References Map::getNodeMetadata(), SimpleMetadata::getString(), m_map, and m_p.

+ Here is the call graph for this function:

◆ resolveText()

virtual std::string NodeMetadataFormSource::resolveText ( const std::string & str)
inlinevirtual

Reimplemented from IFormSource.

References Map::getNodeMetadata(), m_map, m_p, and SimpleMetadata::resolveString().

+ Here is the call graph for this function:

Member Data Documentation

◆ m_map

ClientMap* NodeMetadataFormSource::m_map

Referenced by getForm(), and resolveText().

◆ m_p

v3s16 NodeMetadataFormSource::m_p

Referenced by getForm(), and resolveText().


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