Fission FSN
Loading...
Searching...
No Matches
gfCCatalogueCategory Class Reference

#include <gfCCatalogueCategory.h>

Inheritance diagram for gfCCatalogueCategory:

Public Member Functions

fsS32 totalCostGet () const override
const fsStr & iconFileNameGet () const
Public Member Functions inherited from gfICatalogueEntry
const fsStr & nameGet () const
fsS32 numChildrenGet () const
const gfICatalogueEntry * childGetByIndex (fsS32 pIndex) const
const gfICatalogueEntry * parentGet () const
fsStr textKeyGet () const
fsStr descriptionKeyGet () const
virtual ~gfICatalogueEntry ()

Protected Member Functions

 gfCCatalogueCategory (const fsStr &pName, const fsStr &pTextKey, const fsStr &pIconFileName)
 ~gfCCatalogueCategory () override
Protected Member Functions inherited from gfICatalogueEntry
void childAdd (gfICatalogueEntry *pChild)
gfICatalogueEntry *const childFind (const fsStr &pName) const
 gfICatalogueEntry (const fsStr &pName, const fsStr &pTextKey, const fsStr &pDescriptionKey)

Protected Attributes

fsStr mIconFileName
Protected Attributes inherited from gfICatalogueEntry
gfICatalogueEntry * mParent
std::vector< gfICatalogueEntry * > mChildren

Friends

class gfCCatalogueCatalogue
class gfCTuneCatalogue

Constructor & Destructor Documentation

◆ gfCCatalogueCategory()

gfCCatalogueCategory::gfCCatalogueCategory ( const fsStr & pName,
const fsStr & pTextKey,
const fsStr & pIconFileName )
protected

◆ ~gfCCatalogueCategory()

gfCCatalogueCategory::~gfCCatalogueCategory ( )
overrideprotected

Member Function Documentation

◆ iconFileNameGet()

const fsStr & gfCCatalogueCategory::iconFileNameGet ( ) const
inline

Icon the parser resolved from the catalogue's iconFilesBase + category name - the category-level counterpart of an item's "iconFileName" param, so a catalogue GUI can present categories and items the same way.

◆ totalCostGet()

fsS32 gfCCatalogueCategory::totalCostGet ( ) const
overridevirtual

Reimplemented from gfICatalogueEntry.

◆ gfCCatalogueCatalogue

friend class gfCCatalogueCatalogue
friend

◆ gfCTuneCatalogue

friend class gfCTuneCatalogue
friend

Member Data Documentation

◆ mIconFileName

fsStr gfCCatalogueCategory::mIconFileName
protected

The documentation for this class was generated from the following files: