Minetest  5.4.0
GUIInventoryList::ItemSpec Struct Reference

#include <guiInventoryList.h>

+ Collaboration diagram for GUIInventoryList::ItemSpec:

Public Member Functions

 ItemSpec ()=default
 
 ItemSpec (const InventoryLocation &a_inventoryloc, const std::string &a_listname, s32 a_i)
 
bool isValid () const
 

Public Attributes

InventoryLocation inventoryloc
 
std::string listname
 
s32 i = -1
 

Constructor & Destructor Documentation

◆ ItemSpec() [1/2]

GUIInventoryList::ItemSpec::ItemSpec ( )
default

◆ ItemSpec() [2/2]

GUIInventoryList::ItemSpec::ItemSpec ( const InventoryLocation a_inventoryloc,
const std::string &  a_listname,
s32  a_i 
)
inline

Member Function Documentation

◆ isValid()

bool GUIInventoryList::ItemSpec::isValid ( ) const
inline

References i.

Referenced by GUIFormSpecMenu::OnEvent(), and GUIFormSpecMenu::verifySelectedItem().

+ Here is the caller graph for this function:

Member Data Documentation

◆ i

◆ inventoryloc

◆ listname


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