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

Public Member Functions

void resolveNodeNames ()
 
- Public Member Functions inherited from NodeResolver
 NodeResolver ()
 
virtual ~NodeResolver ()
 
void cloneTo (NodeResolver *res) const
 
bool getIdFromNrBacklog (content_t *result_out, const std::string &node_alt, content_t c_fallback, bool error_on_fallback=true)
 
bool getIdsFromNrBacklog (std::vector< content_t > *result_out, bool all_required=false, content_t c_fallback=CONTENT_IGNORE)
 
bool isResolveDone () const
 
void reset (bool resolve_done=false)
 

Public Attributes

content_t test_nr_node1
 
content_t test_nr_node2
 
content_t test_nr_node3
 
content_t test_nr_node4
 
content_t test_nr_node5
 
std::vector< content_ttest_nr_list
 
std::vector< content_ttest_nr_list_group
 
std::vector< content_ttest_nr_list_required
 
std::vector< content_ttest_nr_list_empty
 
- Public Attributes inherited from NodeResolver
std::vector< std::string > m_nodenames
 
std::vector< size_t > m_nnlistsizes
 

Friends

class TestNodeResolver
 

Additional Inherited Members

- Protected Attributes inherited from NodeResolver
const NodeDefManagerm_ndef = nullptr
 
u32 m_nodenames_idx = 0
 

Member Function Documentation

◆ resolveNodeNames()

void Foobar::resolveNodeNames ( )
virtual

Implements NodeResolver.

References CONTENT_AIR, CONTENT_IGNORE, NodeResolver::getIdFromNrBacklog(), NodeResolver::getIdsFromNrBacklog(), test_nr_list, test_nr_list_empty, test_nr_list_group, test_nr_list_required, test_nr_node1, test_nr_node2, test_nr_node3, test_nr_node4, test_nr_node5, and UASSERT.

+ Here is the call graph for this function:

Friends And Related Symbol Documentation

◆ TestNodeResolver

friend class TestNodeResolver
friend

Member Data Documentation

◆ test_nr_list

std::vector<content_t> Foobar::test_nr_list

◆ test_nr_list_empty

std::vector<content_t> Foobar::test_nr_list_empty

◆ test_nr_list_group

std::vector<content_t> Foobar::test_nr_list_group

◆ test_nr_list_required

std::vector<content_t> Foobar::test_nr_list_required

◆ test_nr_node1

content_t Foobar::test_nr_node1

◆ test_nr_node2

content_t Foobar::test_nr_node2

◆ test_nr_node3

content_t Foobar::test_nr_node3

◆ test_nr_node4

content_t Foobar::test_nr_node4

◆ test_nr_node5

content_t Foobar::test_nr_node5

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