Crossfire Server, Trunk  R20513
Public Member Functions | Protected Attributes
ResourcesManager Class Reference

#include <ResourcesManager.h>

Collaboration diagram for ResourcesManager:
Collaboration graph

Public Member Functions

QStringList allAnimations () const
 
const animations_structanimation (const QString &name) const
 
const archtarchetype (const QString &name) const
 
QStringList archetypes () const
 
const New_Faceface (const QString &name) const
 
QStringList faces () const
 
void load ()
 
const recipestructrecipe (int ingredients, const QString &name) const
 
int recipeMaxIngredients () const
 
QStringList recipes (int count) const
 
 ResourcesManager ()
 
const treasurelisttreasureList (const QString &name)
 
QStringList treasureLists () const
 
virtual ~ResourcesManager ()
 

Protected Attributes

QHash< QString, animations_struct * > myAnimations
 
QHash< QString, archt * > myArchetypes
 
QHash< QString, New_Face * > myFaces
 
QList< QHash< QString, recipestruct * > > myRecipes
 
QHash< QString, treasurelist * > myTreasures
 

Detailed Description

Definition at line 8 of file ResourcesManager.h.

Constructor & Destructor Documentation

ResourcesManager::ResourcesManager ( )

Definition at line 15 of file ResourcesManager.cpp.

ResourcesManager::~ResourcesManager ( )
virtual

Definition at line 19 of file ResourcesManager.cpp.

Member Function Documentation

QStringList ResourcesManager::allAnimations ( ) const

Definition at line 133 of file ResourcesManager.cpp.

References myAnimations.

Referenced by CREResourcesWindow::fillAnimations(), and CREMainWindow::onReportDuplicate().

Here is the caller graph for this function:

const animations_struct * ResourcesManager::animation ( const QString &  name) const

Definition at line 140 of file ResourcesManager.cpp.

References myAnimations.

Referenced by CREResourcesWindow::fillAnimations(), and CREMainWindow::onReportDuplicate().

Here is the caller graph for this function:

const archetype * ResourcesManager::archetype ( const QString &  name) const

Definition at line 80 of file ResourcesManager.cpp.

References myArchetypes.

Referenced by CREResourcesWindow::fillArchetypes().

Here is the caller graph for this function:

QStringList ResourcesManager::archetypes ( ) const

Definition at line 73 of file ResourcesManager.cpp.

References myArchetypes.

Referenced by CREResourcesWindow::fillArchetypes().

Here is the caller graph for this function:

const New_Face * ResourcesManager::face ( const QString &  name) const

Definition at line 128 of file ResourcesManager.cpp.

References myFaces.

Referenced by CREResourcesWindow::fillFaces(), CREResourcesWindow::fillQuests(), and CRETreeItemQuest::questModified().

Here is the caller graph for this function:

QStringList ResourcesManager::faces ( ) const

Definition at line 121 of file ResourcesManager.cpp.

References myFaces.

Referenced by CREResourcesWindow::fillFaces(), and CREMainWindow::onReportDuplicate().

Here is the caller graph for this function:

void ResourcesManager::load ( )
const recipe * ResourcesManager::recipe ( int  ingredients,
const QString &  name 
) const

Definition at line 112 of file ResourcesManager.cpp.

References myRecipes.

Referenced by CREResourcesWindow::fillFormulae().

Here is the caller graph for this function:

int ResourcesManager::recipeMaxIngredients ( ) const

Definition at line 97 of file ResourcesManager.cpp.

References myRecipes.

Referenced by CREResourcesWindow::fillFormulae().

Here is the caller graph for this function:

QStringList ResourcesManager::recipes ( int  count) const

Definition at line 102 of file ResourcesManager.cpp.

References myRecipes.

Referenced by CREResourcesWindow::fillFormulae(), and load().

Here is the caller graph for this function:

const treasurelist * ResourcesManager::treasureList ( const QString &  name)

Definition at line 92 of file ResourcesManager.cpp.

References myTreasures.

Referenced by CREResourcesWindow::fillTreasures().

Here is the caller graph for this function:

QStringList ResourcesManager::treasureLists ( ) const

Definition at line 85 of file ResourcesManager.cpp.

References myTreasures.

Referenced by CREResourcesWindow::fillTreasures().

Here is the caller graph for this function:

Field Documentation

QHash<QString, animations_struct*> ResourcesManager::myAnimations
protected

Definition at line 37 of file ResourcesManager.h.

Referenced by allAnimations(), animation(), and load().

QHash<QString, archt*> ResourcesManager::myArchetypes
protected

Definition at line 33 of file ResourcesManager.h.

Referenced by archetype(), archetypes(), and load().

QHash<QString, New_Face*> ResourcesManager::myFaces
protected

Definition at line 36 of file ResourcesManager.h.

Referenced by face(), faces(), and load().

QList<QHash<QString, recipestruct*> > ResourcesManager::myRecipes
protected

Definition at line 35 of file ResourcesManager.h.

Referenced by load(), recipe(), recipeMaxIngredients(), and recipes().

QHash<QString, treasurelist*> ResourcesManager::myTreasures
protected

Definition at line 34 of file ResourcesManager.h.

Referenced by load(), treasureList(), and treasureLists().


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