Luanti 5.10.0-dev
 
Loading...
Searching...
No Matches
DigParams Struct Reference

#include <tool.h>

+ Collaboration diagram for DigParams:

Public Member Functions

 DigParams (bool a_diggable=false, float a_time=0.0f, u32 a_wear=0, const std::string &a_main_group="")
 

Public Attributes

bool diggable
 
float time
 
u32 wear
 
std::string main_group
 

Constructor & Destructor Documentation

◆ DigParams()

DigParams::DigParams ( bool a_diggable = false,
float a_time = 0.0f,
u32 a_wear = 0,
const std::string & a_main_group = "" )
inline

Member Data Documentation

◆ diggable

bool DigParams::diggable

◆ main_group

std::string DigParams::main_group

Referenced by Game::handleDigging().

◆ time

float DigParams::time

◆ wear

u32 DigParams::wear

Referenced by push_dig_params().


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