Luanti 5.10.0-dev
 
Loading...
Searching...
No Matches
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, const v2s32 slotsize)
 
bool operator== (const ItemSpec &other) const
 
bool isValid () const
 

Public Attributes

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

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,
const v2s32 slotsize )
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:

◆ operator==()

bool GUIInventoryList::ItemSpec::operator== ( const ItemSpec & other) const
inline

References i, inventoryloc, and listname.

Member Data Documentation

◆ i

◆ inventoryloc

◆ listname

◆ slotsize

v2s32 GUIInventoryList::ItemSpec::slotsize

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