Luanti 5.16.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

Referenced by operator==().

Here is the caller graph for this function:

◆ ItemSpec() [2/2]

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

References i, inventoryloc, listname, and slotsize.

Member Function Documentation

◆ isValid()

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

References i.

Referenced by GUIFormSpecMenu::OnEvent().

Here is the caller graph for this function:

◆ operator==()

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

References ItemSpec(), i, inventoryloc, and listname.

Here is the call graph for this function:

Member Data Documentation

◆ i

◆ inventoryloc

◆ listname

std::string GUIInventoryList::ItemSpec::listname

◆ slotsize

v2s32 GUIInventoryList::ItemSpec::slotsize

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