Crossfire Server, Trunk
R21670
|
#include <CREMapInformation.h>
Public Member Functions | |
QStringList | accessedFrom () const |
void | addAccessedFrom (const QString &path) |
void | addArchetype (const QString &archetype) |
void | addExitTo (const QString &path) |
void | addMessage (const QString &message) |
void | addQuest (const QString &quest) |
void | addRandomMap (CRERandomMap *map) |
QStringList | archetypes () const |
const QString & | backgroundMusic () |
CREMapInformation * | clone () const |
CREMapInformation () | |
CREMapInformation (const QString &path) | |
const QString & | displayName () const |
QStringList | exitsTo () const |
qint64 | experience () const |
int | level () const |
const QDateTime & | mapTime () const |
QStringList | messages () const |
const QString & | name () const |
const QString & | path () const |
QStringList | quests () const |
QList< CRERandomMap * > | randomMaps () const |
const QString & | region () const |
void | setBackgroundMusic (const QString &music) |
void | setExperience (qint64 experience) |
void | setLevel (int level) |
void | setMapTime (const QDateTime &date) |
void | setName (const QString &name) |
void | setPath (const QString &path) |
void | setRegion (const QString ®ion) |
void | setShopGreed (double greed) |
void | setShopMax (quint64 max) |
void | setShopMin (quint64 min) |
void | setShopRace (const QString &race) |
double | shopGreed () const |
QHash< QString, int > & | shopItems () |
const QHash< QString, int > & | shopItems () const |
quint64 | shopMax () const |
quint64 | shopMin () const |
const QString & | shopRace () const |
virtual | ~CREMapInformation () |
Protected Member Functions | |
void | copy (const CREMapInformation &other) |
Protected Attributes | |
QStringList | myAccessedFrom |
QStringList | myArchetypes |
QString | myBackgroundMusic |
QStringList | myExitsTo |
qint64 | myExperience |
int | myLevel |
QDateTime | myMapTime |
QStringList | myMessages |
QString | myName |
QString | myPath |
QStringList | myQuests |
QList< CRERandomMap * > | myRandomMaps |
QString | myRegion |
double | myShopGreed |
QHash< QString, int > | myShopItems |
quint64 | myShopMax |
quint64 | myShopMin |
QString | myShopRace |
Properties | |
qint64 | experience |
int | level |
QString | name |
QString | path |
Definition at line 12 of file CREMapInformation.h.
CREMapInformation::CREMapInformation | ( | ) |
Definition at line 3 of file CREMapInformation.cpp.
References myExperience, myLevel, myShopGreed, myShopMax, and myShopMin.
Referenced by clone().
CREMapInformation::CREMapInformation | ( | const QString & | path | ) |
Definition at line 12 of file CREMapInformation.cpp.
References myExperience, myLevel, myPath, myShopGreed, myShopMax, myShopMin, and path().
|
virtual |
Definition at line 22 of file CREMapInformation.cpp.
References myRandomMaps.
QStringList CREMapInformation::accessedFrom | ( | ) | const |
Definition at line 122 of file CREMapInformation.cpp.
References myAccessedFrom.
Referenced by copy(), CREMapPanel::setItem(), and CREMapInformationManager::storeCache().
void CREMapInformation::addAccessedFrom | ( | const QString & | path | ) |
Definition at line 127 of file CREMapInformation.cpp.
References level(), myAccessedFrom, and myLevel.
Referenced by CREMapInformationManager::loadCache(), and CREMapInformationManager::process().
void CREMapInformation::addArchetype | ( | const QString & | archetype | ) |
Definition at line 95 of file CREMapInformation.cpp.
References myArchetypes.
Referenced by CREMapInformationManager::checkInventory(), CREMapInformationManager::loadCache(), and CREMapInformationManager::process().
void CREMapInformation::addExitTo | ( | const QString & | path | ) |
Definition at line 116 of file CREMapInformation.cpp.
References myExitsTo.
Referenced by CREMapInformationManager::loadCache(), and CREMapInformationManager::process().
void CREMapInformation::addMessage | ( | const QString & | message | ) |
Definition at line 167 of file CREMapInformation.cpp.
References myMessages.
Referenced by CREMapInformationManager::checkEvent(), and CREMapInformationManager::loadCache().
void CREMapInformation::addQuest | ( | const QString & | quest | ) |
Definition at line 178 of file CREMapInformation.cpp.
References myQuests.
Referenced by CREMapInformationManager::checkEvent(), and CREMapInformationManager::loadCache().
void CREMapInformation::addRandomMap | ( | CRERandomMap * | map | ) |
Definition at line 239 of file CREMapInformation.cpp.
References myRandomMaps.
Referenced by CREMapInformationManager::loadCache(), and CREMapInformationManager::process().
QStringList CREMapInformation::archetypes | ( | ) | const |
Definition at line 90 of file CREMapInformation.cpp.
References myArchetypes.
Referenced by copy(), and CREMapInformationManager::storeCache().
const QString & CREMapInformation::backgroundMusic | ( | ) |
Definition at line 80 of file CREMapInformation.cpp.
References myBackgroundMusic.
Referenced by CREMapPanel::setItem(), and CREMapInformationManager::storeCache().
CREMapInformation * CREMapInformation::clone | ( | ) | const |
Definition at line 27 of file CREMapInformation.cpp.
References copy(), and CREMapInformation().
Referenced by CREResourcesWindow::fillMaps().
|
protected |
Definition at line 34 of file CREMapInformation.cpp.
References accessedFrom(), archetypes(), exitsTo(), experience, level, mapTime(), myAccessedFrom, myArchetypes, myExitsTo, myShopGreed, myShopItems, myShopMax, myShopMin, myShopRace, name, path, region(), setExperience(), setLevel(), setMapTime(), setName(), setPath(), setRegion(), shopGreed(), shopItems(), shopMax(), shopMin(), and shopRace().
Referenced by clone().
const QString & CREMapInformation::displayName | ( | ) | const |
Definition at line 53 of file CREMapInformation.cpp.
References myName, myPath, and path().
Referenced by CRERandomMapPanel::setItem(), sortMapInformation(), and sortRandomMap().
QStringList CREMapInformation::exitsTo | ( | ) | const |
Definition at line 111 of file CREMapInformation.cpp.
References myExitsTo.
Referenced by copy(), CREMapInformationManager::process(), CREMapPanel::setItem(), and CREMapInformationManager::storeCache().
qint64 CREMapInformation::experience | ( | ) | const |
int CREMapInformation::level | ( | ) | const |
const QDateTime & CREMapInformation::mapTime | ( | ) | const |
Definition at line 101 of file CREMapInformation.cpp.
References myMapTime.
Referenced by copy(), CREMapInformationManager::process(), and CREMapInformationManager::storeCache().
QStringList CREMapInformation::messages | ( | ) | const |
Definition at line 162 of file CREMapInformation.cpp.
References myMessages.
Referenced by CREMapInformationManager::storeCache().
const QString& CREMapInformation::name | ( | ) | const |
const QString& CREMapInformation::path | ( | ) | const |
Referenced by CREMapInformation(), displayName(), and setPath().
QStringList CREMapInformation::quests | ( | ) | const |
Definition at line 173 of file CREMapInformation.cpp.
References myQuests.
Referenced by CREMapInformationManager::storeCache().
QList< CRERandomMap * > CREMapInformation::randomMaps | ( | ) | const |
Definition at line 234 of file CREMapInformation.cpp.
References myRandomMaps.
Referenced by CREMapInformationManager::randomMaps(), and CREMapInformationManager::storeCache().
const QString & CREMapInformation::region | ( | ) | const |
Definition at line 153 of file CREMapInformation.cpp.
References myRegion.
Referenced by copy(), CREMapInformationManager::getMapsForRegion(), setRegion(), and CREMapInformationManager::storeCache().
void CREMapInformation::setBackgroundMusic | ( | const QString & | music | ) |
Definition at line 85 of file CREMapInformation.cpp.
References myBackgroundMusic.
Referenced by CREMapInformationManager::loadCache(), and CREMapInformationManager::process().
void CREMapInformation::setExperience | ( | qint64 | experience | ) |
Definition at line 148 of file CREMapInformation.cpp.
References experience(), and myExperience.
Referenced by copy(), CREMapInformationManager::loadCache(), and CREMapInformationManager::process().
void CREMapInformation::setLevel | ( | int | level | ) |
Definition at line 138 of file CREMapInformation.cpp.
References experience(), level(), myExperience, and myLevel.
Referenced by copy(), CREMapInformationManager::loadCache(), and CREMapInformationManager::process().
void CREMapInformation::setMapTime | ( | const QDateTime & | date | ) |
Definition at line 106 of file CREMapInformation.cpp.
References myMapTime.
Referenced by copy(), CREMapInformationManager::loadCache(), and CREMapInformationManager::process().
void CREMapInformation::setName | ( | const QString & | name | ) |
Definition at line 75 of file CREMapInformation.cpp.
References myName, and name().
Referenced by copy(), CREMapInformationManager::loadCache(), and CREMapInformationManager::process().
void CREMapInformation::setPath | ( | const QString & | path | ) |
Definition at line 65 of file CREMapInformation.cpp.
References myName, myPath, name(), and path().
Referenced by copy(), and CREMapInformationManager::loadCache().
void CREMapInformation::setRegion | ( | const QString & | region | ) |
Definition at line 157 of file CREMapInformation.cpp.
References myRegion, and region().
Referenced by copy(), CREMapInformationManager::loadCache(), and CREMapInformationManager::process().
void CREMapInformation::setShopGreed | ( | double | greed | ) |
Definition at line 199 of file CREMapInformation.cpp.
References myShopGreed.
Referenced by CREMapInformationManager::loadCache(), and CREMapInformationManager::process().
void CREMapInformation::setShopMax | ( | quint64 | max | ) |
Definition at line 229 of file CREMapInformation.cpp.
References myShopMax.
Referenced by CREMapInformationManager::loadCache(), and CREMapInformationManager::process().
void CREMapInformation::setShopMin | ( | quint64 | min | ) |
Definition at line 219 of file CREMapInformation.cpp.
References myShopMin.
Referenced by CREMapInformationManager::loadCache(), and CREMapInformationManager::process().
void CREMapInformation::setShopRace | ( | const QString & | race | ) |
Definition at line 209 of file CREMapInformation.cpp.
References myShopRace.
Referenced by CREMapInformationManager::loadCache(), and CREMapInformationManager::process().
double CREMapInformation::shopGreed | ( | ) | const |
Definition at line 194 of file CREMapInformation.cpp.
References myShopGreed.
Referenced by buildShopReport(), copy(), and CREMapInformationManager::storeCache().
QHash< QString, int > & CREMapInformation::shopItems | ( | ) |
Definition at line 184 of file CREMapInformation.cpp.
References myShopItems.
Referenced by buildShopReport(), copy(), CREMapInformationManager::loadCache(), CREMainWindow::onReportShops(), CREMapInformationManager::process(), and CREMapInformationManager::storeCache().
const QHash< QString, int > & CREMapInformation::shopItems | ( | ) | const |
Definition at line 189 of file CREMapInformation.cpp.
References myShopItems.
quint64 CREMapInformation::shopMax | ( | ) | const |
Definition at line 224 of file CREMapInformation.cpp.
References myShopMax.
Referenced by buildShopReport(), copy(), and CREMapInformationManager::storeCache().
quint64 CREMapInformation::shopMin | ( | ) | const |
Definition at line 214 of file CREMapInformation.cpp.
References myShopMin.
Referenced by buildShopReport(), copy(), and CREMapInformationManager::storeCache().
const QString & CREMapInformation::shopRace | ( | ) | const |
Definition at line 204 of file CREMapInformation.cpp.
References myShopRace.
Referenced by buildShopReport(), copy(), and CREMapInformationManager::storeCache().
|
protected |
Definition at line 87 of file CREMapInformation.h.
Referenced by accessedFrom(), addAccessedFrom(), and copy().
|
protected |
Definition at line 84 of file CREMapInformation.h.
Referenced by addArchetype(), archetypes(), and copy().
|
protected |
Definition at line 98 of file CREMapInformation.h.
Referenced by backgroundMusic(), and setBackgroundMusic().
|
protected |
Definition at line 86 of file CREMapInformation.h.
Referenced by addExitTo(), copy(), and exitsTo().
|
protected |
Definition at line 89 of file CREMapInformation.h.
Referenced by CREMapInformation(), setExperience(), and setLevel().
|
protected |
Definition at line 88 of file CREMapInformation.h.
Referenced by addAccessedFrom(), CREMapInformation(), and setLevel().
|
protected |
Definition at line 85 of file CREMapInformation.h.
Referenced by mapTime(), and setMapTime().
|
protected |
Definition at line 91 of file CREMapInformation.h.
Referenced by addMessage(), and messages().
|
protected |
Definition at line 83 of file CREMapInformation.h.
Referenced by displayName(), setName(), and setPath().
|
protected |
Definition at line 82 of file CREMapInformation.h.
Referenced by CREMapInformation(), displayName(), and setPath().
|
protected |
Definition at line 92 of file CREMapInformation.h.
Referenced by addQuest(), and quests().
|
protected |
Definition at line 97 of file CREMapInformation.h.
Referenced by addRandomMap(), randomMaps(), and ~CREMapInformation().
|
protected |
Definition at line 90 of file CREMapInformation.h.
Referenced by region(), and setRegion().
|
protected |
Definition at line 94 of file CREMapInformation.h.
Referenced by copy(), CREMapInformation(), setShopGreed(), and shopGreed().
|
protected |
Definition at line 93 of file CREMapInformation.h.
Referenced by copy(), and shopItems().
|
protected |
Definition at line 96 of file CREMapInformation.h.
Referenced by copy(), CREMapInformation(), setShopMax(), and shopMax().
|
protected |
Definition at line 96 of file CREMapInformation.h.
Referenced by copy(), CREMapInformation(), setShopMin(), and shopMin().
|
protected |
Definition at line 95 of file CREMapInformation.h.
Referenced by copy(), setShopRace(), and shopRace().
|
read |
Definition at line 19 of file CREMapInformation.h.
Referenced by copy(), CREResourcesWindow::fillMaps(), and CREMapInformationManager::storeCache().
|
read |
Definition at line 18 of file CREMapInformation.h.
Referenced by copy(), and CREMapInformationManager::storeCache().
|
read |
Definition at line 17 of file CREMapInformation.h.
Referenced by buildShopReport(), copy(), CREResourcesWindow::fillRandomMaps(), CREUtils::mapNode(), CREMapInformationManager::process(), CREMapPanel::setItem(), and CREMapInformationManager::storeCache().
|
read |
Definition at line 16 of file CREMapInformation.h.
Referenced by buildShopReport(), CREMapInformationManager::checkEvent(), copy(), CREUtils::mapNode(), CREScriptPanel::setItem(), CREMessagePanel::setItem(), CREQuestPanel::setItem(), and CREMapInformationManager::storeCache().