Luanti 5.16.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) const
bool operator!= (const RollbackNode &other) const
 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

References p().

Referenced by operator!=(), and operator==().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ 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) const
inline

References RollbackNode().

Here is the call graph for this function:

◆ operator==()

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

References RollbackNode(), meta, name, param1, and param2.

Here is the call graph for this function:

Member Data Documentation

◆ meta

◆ name

◆ param1

◆ param2


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