Minetest 5.10.0-dev
 
Loading...
Searching...
No Matches
RollbackNode Struct Reference

#include <rollback_interface.h>

+ Collaboration diagram for RollbackNode:

Public Member Functions

bool operator== (const RollbackNode &other)
 
bool operator!= (const RollbackNode &other)
 
 RollbackNode ()=default
 
 RollbackNode (Map *map, v3s16 p, IGameDef *gamedef)
 

Public Attributes

std::string name
 
int param1 = 0
 
int param2 = 0
 
std::string meta
 

Constructor & Destructor Documentation

◆ RollbackNode() [1/2]

RollbackNode::RollbackNode ( )
default

◆ RollbackNode() [2/2]

RollbackNode::RollbackNode ( Map * map,
v3s16 p,
IGameDef * gamedef )

References NodeDefManager::get(), Map::getNode(), Map::getNodeMetadata(), meta, ContentFeatures::name, name, IGameDef::ndef(), p(), MapNode::param1, param1, MapNode::param2, param2, and NodeMetadata::serialize().

+ Here is the call graph for this function:

Member Function Documentation

◆ operator!=()

bool RollbackNode::operator!= ( const RollbackNode & other)
inline

◆ operator==()

bool RollbackNode::operator== ( const RollbackNode & other)
inline

References meta, name, param1, and param2.

Member Data Documentation

◆ meta

◆ name

◆ param1

◆ param2


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