Luanti 5.11.0-dev
 
Loading...
Searching...
No Matches
CraftReplacements Struct Reference

#include <craftdef.h>

+ Collaboration diagram for CraftReplacements:

Public Member Functions

 CraftReplacements ()=default
 
 CraftReplacements (const std::vector< std::pair< std::string, std::string > > &pairs_)
 
std::string dump () const
 

Public Attributes

std::vector< std::pair< std::string, std::string > > pairs
 

Constructor & Destructor Documentation

◆ CraftReplacements() [1/2]

CraftReplacements::CraftReplacements ( )
default

◆ CraftReplacements() [2/2]

CraftReplacements::CraftReplacements ( const std::vector< std::pair< std::string, std::string > > & pairs_)
inline

Member Function Documentation

◆ dump()

std::string CraftReplacements::dump ( ) const

References pairs.

Referenced by CraftDefinitionCooking::dump(), CraftDefinitionFuel::dump(), CraftDefinitionShaped::dump(), and CraftDefinitionShapeless::dump().

+ Here is the caller graph for this function:

Member Data Documentation

◆ pairs

std::vector<std::pair<std::string, std::string> > CraftReplacements::pairs

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