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

#include <gfCCatalogueCategory.h>

Inheritance diagram for gfCCatalogueCategory:

Public Member Functions

fsS32 totalCostGet () const override
const fsStriconFileNameGet () const
Public Member Functions inherited from gfICatalogueEntry
const fsStrnameGet () const
fsS32 numChildrenGet () const
const gfICatalogueEntrychildGetByIndex (fsS32 pIndex) const
const gfICatalogueEntryparentGet () const
fsStr textKeyGet () const
fsStr descriptionKeyGet () const
virtual ~gfICatalogueEntry ()

Protected Member Functions

 gfCCatalogueCategory (const fsStr &pName, const fsStr &pTextKey, const fsStr &pIconFileName)
virtual ~gfCCatalogueCategory ()
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
gfICatalogueEntrymParent
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 ( )
protectedvirtual

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: