Luanti 5.11.0-dev
 
Loading...
Searching...
No Matches
ObjDef Class Referenceabstract

#include <objdef.h>

+ Inheritance diagram for ObjDef:
+ Collaboration diagram for ObjDef:

Public Member Functions

virtual ~ObjDef ()=default
 
virtual ObjDefclone () const =0
 

Public Attributes

u32 index
 
u32 uid
 
ObjDefHandle handle
 
std::string name
 

Protected Member Functions

void cloneTo (ObjDef *def) const
 

Constructor & Destructor Documentation

◆ ~ObjDef()

virtual ObjDef::~ObjDef ( )
virtualdefault

Member Function Documentation

◆ clone()

virtual ObjDef * ObjDef::clone ( ) const
pure virtual

◆ cloneTo()

void ObjDef::cloneTo ( ObjDef * def) const
protected

References handle, index, name, and uid.

Referenced by Biome::clone(), MyObjDef::clone(), Schematic::clone(), Decoration::cloneTo(), and Ore::cloneTo().

+ Here is the caller graph for this function:

Member Data Documentation

◆ handle

ObjDefHandle ObjDef::handle

◆ index

◆ name

◆ uid


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