Skip to content

Class endstone::ItemFactory

ClassList > endstone > ItemFactory

Public Static Functions

Type Name
std::unique_ptr< ItemMeta > asMetaFor (const std::string_view type, const ItemMeta * meta)
std::unique_ptr< ItemMeta > getItemMeta (const std::string_view type, const ItemMeta * meta=nullptr)

Public Static Functions Documentation

function asMetaFor

static inline std::unique_ptr< ItemMeta > endstone::ItemFactory::asMetaFor (
    const std::string_view type,
    const  ItemMeta * meta
) 

function getItemMeta

static inline std::unique_ptr< ItemMeta > endstone::ItemFactory::getItemMeta (
    const std::string_view type,
    const  ItemMeta * meta=nullptr
) 


The documentation for this class was generated from the following file include/endstone/inventory/item_factory.h