Planeshift
Classes | Public Types | Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes

CacheManager Class Reference

This class manages the caching of data that is unchanging during server operation. More...

#include <cachemanager.h>

List of all members.

Classes

struct  CachedObject
class  psCacheExpireEvent
 The generic cache sets timers for each object added to the cache, then if the object is not removed by the expiration time, it calls the iCachedObject interface and deletes the object. More...

Public Types

typedef csPDelArray< psSpell >
::Iterator 
SpellIterator

Public Member Functions

void AddBadName (const char *)
void AddItemStatsToHashTable (psItemStats *newitem)
void AddToCache (iCachedObject *obj, const char *name, int max_cache_time_seconds)
void ApplyItemModifiers (psItemStats *baseItem, RandomizedOverlay *overlay, csArray< uint32_t > &modifierIds)
 Applies on a randomized overlay structure, starting with the base item stats passed, the modifier ids passed.
 CacheManager ()
PSCHARACTER_GENDER ConvertGenderString (const char *genderstring)
PSSKILL ConvertSkill (int skill_id)
PSSKILL ConvertSkillString (const char *skillstring)
void DelBadName (const char *)
csPDelArray< psItemAnimation > * FindAnimationList (int id)
MathScriptGetArmorSkillsPractice ()
psAttackTypeGetAttackTypeByID (unsigned int id)
psAttackTypeGetAttackTypeByName (csString name)
const char * GetBadName (int pos)
size_t GetBadNamesCount ()
MathScriptGetBaseSkillValuesGet ()
MathScriptGetCalcDecay ()
MathScriptGetCalcItemPrice ()
MathScriptGetCalcItemSellPrice ()
MathScriptGetCastSuccess ()
MathScriptGetCharLevelGet ()
const psCharModeGetCharMode (size_t id) const
uint8_t GetCharModeID (const char *name)
const csPDelArray< psCharMode > & GetCharModes () const
psCommandManagerGetCommandManager ()
MathScriptGetDoDamage ()
MathScriptGetDodgeValueCalc ()
MathScriptGetExpSkillCalc ()
FactionGetFaction (const char *name)
FactionGetFaction (int id)
FactionGetFactionByName (const char *name)
csHash< Faction *, int > & GetFactionHash ()
MathScriptGetFamiliarAffinity ()
size_t GetItemCategoryAmount ()
 Gets the size of the item category array.
psItemCategoryGetItemCategoryByID (unsigned int id)
psItemCategoryGetItemCategoryByName (const csString &name)
psItemCategoryGetItemCategoryByPos (size_t pos)
 Gets an item category by its position in the array.
const psCharacterLimitationGetLimitation (size_t index)
 This allows psServerChar to build a list of limitations for each player on demand.
LootRandomizergetLootRandomizer ()
 Returns a pointer to the loot randomizer which is hosted within the cache manager.
MathScriptGetManaCost ()
MathScriptGetMaxCarryAmount ()
MathScriptGetMaxCarryWeight ()
MathScriptGetMaxHPScript ()
MathScriptGetMaxManaScript ()
MathScriptGetMaxRealmScript ()
const psMovementGetMovement (size_t id) const
uint8_t GetMovementID (const char *name)
const csPDelArray< psMovement > & GetMovements () const
optionEntrygetOption (const csString path)
 Wrapper for the getOption method of the root optionEntry stored in cachemanager.
optionEntrygetOptionSafe (const csString path, const csString value)
 Wrapper for the getOptionSafe method of the root optionEntry stored in cachemanager.
MathScriptGetPlayerSketchLimits ()
ProgressionScriptGetProgressionScript (const char *name)
MathScriptGetResearchSuccess ()
MathScriptGetSetBaseSkillsScript ()
MathScriptGetSkillValuesGet ()
psSpellGetSpellByID (unsigned int id)
psSpellGetSpellByName (const csString &name)
SpellIterator GetSpellIterator ()
MathScriptGetSpellPowerLevel ()
MathScriptGetSpellPractice ()
MathScriptGetStaminaCalc ()
MathScriptGetStaminaCombat ()
MathScriptGetStaminaMove ()
MathScriptGetStaminaRatioSit ()
MathScriptGetStaminaRatioStill ()
MathScriptGetStaminaRatioWalk ()
MathScriptGetStaminaRatioWork ()
void GetTipByID (int id, csString &tip)
unsigned int GetTipLength ()
 Returns how many tips there is.
psWayGetWayByID (unsigned int id)
psWayGetWayByName (const csString &name)
psWeaponTypeGetWeaponTypeByID (unsigned int id)
psWeaponTypeGetWeaponTypeByName (csString name)
const char * MakeCacheName (const char *prefix, uint32 id)
uint32_t NextEffectUID ()
 Used to track effect IDs.
bool PreloadAll (EntityManager *entitymanager)
 Convenience function to preload all of the above in an appropriate order.
void RandomizeItem (psItem *item, float maxCost, size_t numModifiers)
 Randomizes the passed item.
bool ReloadOptions ()
 Reloads the server_options.
iCachedObjectRemoveFromCache (const char *name)
void UnloadAll ()
 ~CacheManager ()
Sector Info Table cache
psSectorInfoGetSectorInfoByName (const char *name)
psSectorInfoGetSectorInfoByID (unsigned int id)
csHash< psSectorInfo * >
::GlobalIterator 
GetSectorIterator ()
Races
size_t GetRaceInfoCount ()
psRaceInfoGetRaceInfoByIndex (int idx)
psRaceInfoGetRaceInfoByID (unsigned int id)
psRaceInfoGetRaceInfoByNameGender (const char *name, PSCHARACTER_GENDER gender)
psRaceInfoGetRaceInfoByNameGender (unsigned int id, PSCHARACTER_GENDER gender)
psRaceInfoGetRaceInfoByMeshName (const csString &meshname)
Skills
psSkillInfoGetSkillByID (unsigned int id)
size_t GetSkillAmount ()
psSkillInfoGetSkillByName (const char *name)
void GetSkillsListbyCategory (csArray< psSkillInfo * > &listskill, int category)
 Get all skills belonging to a specific category.
Common Strings
const char * FindCommonString (unsigned int id)
unsigned int FindCommonStringID (const char *name)
void AddCommonStringID (const char *name)
csStringSet * GetMsgStrings ()
 Returns the message strings hash table.
void GetCompressedMessageStrings (char *&data, unsigned long &size, uint32_t &num_strings, csMD5::Digest &digest)
 Returns compressed message strings data.
Guilds
psGuildInfoFindGuild (unsigned int id)
psGuildInfoFindGuild (const csString &name)
bool CreateGuild (const char *guildname, Client *client)
void RemoveGuild (psGuildInfo *which)
Guild alliances
psGuildAllianceFindAlliance (unsigned int id)
bool CreateAlliance (const csString &name, psGuildInfo *founder, Client *client)
bool RemoveAlliance (psGuildAlliance *which)
Quests
psQuestGetQuestByID (unsigned int id)
psQuestGetQuestByName (const char *name)
psQuestAddDynamicQuest (const char *name, psQuest *parentQuest, int step)
bool UnloadQuest (int id)
 Unloads a quest and its scripts.
bool LoadQuest (int id)
 Loads a quest and its scripts.
csHash< psQuest * >::GlobalIterator GetQuestIterator ()
Attacks
psAttackGetAttackByID (unsigned int id)
psAttackGetAttackByName (const char *name)
csArray< psAttack * > GetAllAttacks ()
bool UnloadAttack (int id)
 unload an attack and its scripts
bool LoadAttack (int id)
 Loads an attack and its scripts.
csHash< psAttack * >
::GlobalIterator 
GetAttackIterator ()
Accounts
psAccountInfoGetAccountInfoByID (AccountID accountid)
 Retrieves account information given an accountid.
psAccountInfoGetAccountInfoByCharID (PID charid)
 Retrieves account information given an character ID.
psAccountInfoGetAccountInfoByUsername (const char *username)
 Retrieves account information given a username.
bool UpdateAccountInfo (psAccountInfo *ainfo)
 Call to store modified account information back to the database.
unsigned int NewAccountInfo (psAccountInfo *ainfo)
 Call to create a new account in the database.
Trades
csPDelArray
< CombinationConstruction > * 
FindCombinationsList (uint32 patternid)
 Get set of transformations for that pattern.
csPDelArray
< psTradeTransformations > * 
FindTransformationsList (uint32 patternid, uint32 targetid)
 Get transformation array for pattern and target item.
bool PreloadUniqueTradeTransformations ()
csArray< uint32 > * GetTradeTransUniqueByID (uint32 id)
bool PreloadTradeProcesses ()
csArray< psTradeProcesses * > * GetTradeProcessesByID (uint32 id)
bool PreloadTradePatterns ()
csArray< psTradePatterns * > GetTradePatternByItemID (uint32 id)
psTradePatternsGetTradePatternByName (csString name)
csString CreateTransCraftDescription (psTradeTransformations *tran, psTradeProcesses *proc)
csString CreateComboCraftDescription (CombinationConstruction *combArray)
csString CreateComboCraftDescription (Result *combArray)
csArray< CraftTransInfo * > * GetTradeTransInfoByItemID (uint32 id)
csArray< CraftComboInfo * > * GetTradeComboInfoByItemID (uint32 id)
Items
psItemStatsGetBasicItemStatsByName (csString name)
 Get item basic stats by hashed table.
psItemStatsGetBasicItemStatsByID (uint32 id)
 Get item basic stats by hashed table.
psItemStatsCopyItemStats (uint32 id, csString newName)
uint32 BasicItemStatsByNameExist (csString name)
 return id of item if 'name' exists already
size_t ItemStatsSize (void)
void CacheNameChange (csString oldName, csString newName)
 If an item changes name (eg book title) keep cache up to date.
bool LoadWorldItems (psSectorInfo *sector, csArray< psItem * > &items)
float GetArmorVSWeaponResistance (const char *armor_type, const char *weapon_type)
float GetArmorVSWeaponResistance (psItemStats *armor, psItemStats *weapon)
void RemoveInstance (psItem *&item)
void RemoveItemStats (psItemStats *&itemStats)
PSITEMSTATS_STAT ConvertAttributeString (const char *attributestring)
const char * Attribute2String (PSITEMSTATS_STAT s)
 Converts the stat enum to a string.

Public Attributes

csArray< psItemStatFlagsItemStatFlagArray
 Translation table for Flag strings (from db) into bit codes.
PSITEMSTATS_SLOTLIST slotMap [PSCHARACTER_SLOT_BULK1]
SlotNameHash slotNameHash
csArray< csString > stanceID
 Map of locations.
csArray< Stancestances
 List of stances.

Protected Member Functions

void CacheCraftCombos (psMsgCraftingInfo *tradePattern, int patternID, int group)
 Caches in the crafting combinations.
void CacheCraftTransforms (psMsgCraftingInfo *tradePattern, int patternID, int group)
 Caches in the crafting transforms.
int Contains (csArray< uint32 > *list, uint32 id)
 Check if an int value is already in an array This is used primarily with the "stack" arrays that track progress through a network of data nodes, to determine if a node has already been visited.
PSTRAIT_LOCATION ConvertTraitLocationString (const char *locationstring)
bool DescribeCombination (Result *combinations, csArray< CraftTransInfo * > *newArray)
 build the description of a trade combination
bool DescribeMultiTransformation (csPDelArray< psTradeTransformations > *rArray, csArray< CraftTransInfo * > *newArray)
 build the description of the trade transformation where multiple tools can be used to produce the same result.
bool DescribeTransformation (psTradeTransformations *t, csArray< CraftTransInfo * > *newArray)
 build the description of the trade transformation
bool FindFinalItem (csHash< csHash< csPDelArray< psTradeTransformations > *, uint32 > *, uint32 > *txItemHash, csHash< csHash< csPDelArray< psTradeTransformations > *, uint32 > *, uint32 > *rxItemHash, csArray< uint32 > *finalItems, uint32 itemID, csArray< uint32 > *itemStack)
 Build the list of 'final' items.
bool freeTradeTransformationsByPatternAndGroup (csHash< csHash< csPDelArray< psTradeTransformations > *, uint32 > *, uint32 > *txItemHash, csHash< csHash< csPDelArray< psTradeTransformations > *, uint32 > *, uint32 > *txResultHash)
 dispose of transformation hashes for craft books.
bool ListProductionSteps (csArray< CraftTransInfo * > *newArray, csHash< csHash< csPDelArray< psTradeTransformations > *, uint32 > *, uint32 > *txResultHash, csArray< uint32 > *finalItems, uint32 itemID, uint32 patternID, uint32 groupID, csArray< uint32 > *itemStack)
 main procedure constructing the recipe steps
bool loadTradeTransformationsByPatternAndGroup (Result *result, csHash< csHash< csPDelArray< psTradeTransformations > *, uint32 > *, uint32 > *txResultHash, csHash< csHash< csPDelArray< psTradeTransformations > *, uint32 > *, uint32 > *txItemHash)
 load transformations into hashes for faster access.
bool PreloadArmorVsWeapon ()
bool PreloadAttacks ()
bool PreloadAttackTypes ()
bool PreloadBadNames ()
void PreloadCommandGroups ()
bool PreloadCraftMessages ()
 Cache in the crafting messages.
void PreloadFactionCharacterEvents (const char *script, Faction *faction)
 preloads the character events script for a faction
bool PreloadFactions ()
bool PreloadItemAnimList ()
bool PreloadItemCategories ()
bool PreloadItemStatsDatabase ()
bool PreloadLimitations ()
bool PreloadLootModifiers ()
 Loads the loot modifiers from the loot modifiers table.
bool PreloadMathScripts ()
bool PreloadMovement ()
bool PreloadOptions ()
 Preloads the server_options and stores them in an easily accessible structure.
bool PreloadQuests ()
bool PreloadRaceInfo ()
bool PreloadScripts (EntityManager *entitymanager)
bool PreloadSectors ()
bool PreloadSkills ()
bool PreloadSpells ()
bool PreloadStances ()
bool PreloadTips ()
bool PreloadTradeCombinations ()
bool PreloadTradeTransformations ()
bool PreloadTraits ()
bool PreloadWays ()
bool PreloadWeaponTypes ()
bool ReconcileFinalItems (csHash< csHash< csPDelArray< psTradeTransformations > *, uint32 > *, uint32 > *txItemHash, csHash< csHash< csPDelArray< psTradeTransformations > *, uint32 > *, uint32 > *rxItemHash, csArray< uint32 > *finalItems, csArray< uint32 > *craftBookItems, uint32 resultID, uint32 patternID, csArray< uint32 > *itemStack)
 From the list of final items, extract those that belong to the specified craft book.
bool UniqueInsertIntoItemArray (csArray< uint32 > *finalItems, uint32 itemID)
 Insert the itemID into an array, sorted according the the item's Name, no more than one time.

Protected Attributes

csHash< psGuildAlliance * > alliance_by_id
csPDelArray< ArmorVsWeaponarmor_vs_weapon
MathScriptarmorSkillsPractice
 Script to set the practice points for armor skills.
csHash< psAttack * > attacks_by_id
csPDelArray< psAttackTypeattackTypeList
csStringArray bad_names
MathScriptbaseSkillValuesGet
 Script to get the base skill values.
char CacheNameBuffer [15]
MathScriptcalc_decay
 This is the particular calculation for decay.
MathScriptcalcItemPrice
MathScriptcalcItemSellPrice
MathScriptcastSuccess
csPDelArray< psCharModechar_modes
MathScriptcharLevelGet
 Script to get the current char level.
psCommandManagercommandManager
char * compressed_msg_strings
csMD5::Digest compressed_msg_strings_digest
unsigned long compressed_msg_strings_size
MathScriptdoDamage
MathScriptdodgeValueCalc
 Script for calculating dodge value.
uint32_t effectID
MathScriptexpSkillCalc
 The exp calc script to assign experience on skill ranking.
csHash< Faction *, csString > factions
csHash< Faction *, intfactions_by_id
csHash< CachedObject *, csString > generic_object_cache
 This cache is intended to keep database-loaded objects in memory for a time after we are done with them to avoid reloading in case they are reused soon.
csHash< psGuildInfo * > guildinfo_by_id
csPDelArray< csPDelArray
< psItemAnimation > > 
item_anim_list
csPDelArray< psItemCategoryitemCategoryList
csHash< psItemStats *, uint32 > itemStats_IDHash
csHash< psItemStats *, csString > itemStats_NameHash
csPDelArray
< psCharacterLimitation
limits
 All the limitations based on scores for characters.
LootRandomizerlootRandomizer
 A pointer to the lootrandomizer mantained by the cachemanager.
MathScriptmanaCost
MathScriptmaxCarryAmount
 A pointer maintained by MathScriptEngine.
MathScriptmaxCarryWeight
 A pointer maintained by MathScriptEngine.
MathScriptmaxHPScript
MathScriptmaxManaScript
MathScriptmaxRealmScript
csPDelArray< psMovementmovements
MathScriptmsAffinity
csStringSet msg_strings
uint32_t num_compressed_strings
MathScriptplayerSketchLimits
csHash< psQuest * > quests_by_id
csPDelArray< psRaceInforaceinfolist
MathScriptresearchSuccess
optionEntry rootOptionEntry
csHash< ProgressionScript
*, csString > 
scripts
csHash< psSectorInfo * > sectorinfo_by_id
 Sector info list hashed by sector id.
csHash< psSectorInfo * > sectorinfo_by_name
 Sector info list hashed by sector name.
MathScriptsetBaseSkillsScript
csHash< psSkillInfo *, intskillinfo_CategoryHash
csHash< psSkillInfo *, intskillinfo_IDHash
csHash< psSkillInfo *, csString > skillinfo_NameHash
MathScriptskillValuesGet
 Script to get the current skill values.
csPDelArray< psSpellspellList
MathScriptspellPowerLevel
MathScriptspellPractice
MathScriptstaminaCalc
 The stamina calc script.
MathScriptstaminaCombat
MathScriptstaminaMove
MathScriptstaminaRatioSit
 The stamina regen ration while sitting script.
MathScriptstaminaRatioStill
 The stamina regen ration while standing script.
MathScriptstaminaRatioWalk
 The stamina regen ration while walking script.
MathScriptstaminaRatioWork
 The stamina regen ration while working script.
csArray< csString > tips_list
 List for the tips.
csHash< csPDelArray
< CombinationConstruction >
*, uint32 > 
tradeCombinations_IDHash
csHash< csArray
< CraftComboInfo * > *, uint32 > 
tradeCraftComboInfo_IDHash
csHash< csArray
< CraftTransInfo * > *, uint32 > 
tradeCraftTransInfo_IDHash
csHash< psTradePatterns *, uint32 > tradePatterns_IDHash
csHash< psTradePatterns
*, csString > 
tradePatterns_NameHash
csHash< csArray
< psTradeProcesses * >
*, uint32 > 
tradeProcesses_IDHash
csHash< csHash< csPDelArray
< psTradeTransformations >
*, uint32 > *, uint32 > 
tradeTransformations_IDHash
csHash< csArray< uint32 >
*, uint32 > 
tradeTransUnique_IDHash
csPDelArray< psTraittraitlist
csPDelArray< psWaywayList
csPDelArray< psWeaponTypeweaponTypeList

Traits

typedef csPDelArray< psTrait >
::Iterator 
TraitIterator
psTraitGetTraitByID (unsigned int id)
psTraitGetTraitByName (const char *name)
TraitIterator GetTraitIterator ()

Detailed Description

This class manages the caching of data that is unchanging during server operation.

Data stored here is loaded from the database at server startup and retrieved by other code from this cache. This allows the database to be used to store configuration data, but we don't have to query the database every time we need access.

Meshes, Textures, Images, Parts, and Sectors may be loaded without other lists being loaded first. Traits will fail if Textures, Parts and Meshes are not loaded beforehand. Races will fail if Meshes, Textures and Sectors are not loaded beforehand.

Definition at line 234 of file cachemanager.h.


Member Typedef Documentation

typedef csPDelArray<psSpell>::Iterator CacheManager::SpellIterator

Definition at line 490 of file cachemanager.h.

typedef csPDelArray<psTrait>::Iterator CacheManager::TraitIterator

Definition at line 256 of file cachemanager.h.


Constructor & Destructor Documentation

CacheManager::CacheManager ( )
CacheManager::~CacheManager ( )

Member Function Documentation

void CacheManager::AddBadName ( const char *  )
void CacheManager::AddCommonStringID ( const char *  name) [inline]

Definition at line 289 of file cachemanager.h.

psQuest* CacheManager::AddDynamicQuest ( const char *  name,
psQuest parentQuest,
int  step 
)
void CacheManager::AddItemStatsToHashTable ( psItemStats newitem)
void CacheManager::AddToCache ( iCachedObject obj,
const char *  name,
int  max_cache_time_seconds 
)
void CacheManager::ApplyItemModifiers ( psItemStats baseItem,
RandomizedOverlay overlay,
csArray< uint32_t > &  modifierIds 
) [inline]

Applies on a randomized overlay structure, starting with the base item stats passed, the modifier ids passed.

This is an accessor to the lootrandomizer own function

Parameters:
baseItemThe basic item stats of the item we are creating an overlay for.
overlayThe overlay which we will fill with the modifiers data.
modifierIdsAn array of ids referencing loot_modifiers rules.

Definition at line 652 of file cachemanager.h.

const char* CacheManager::Attribute2String ( PSITEMSTATS_STAT  s)

Converts the stat enum to a string.

uint32 CacheManager::BasicItemStatsByNameExist ( csString  name)

return id of item if 'name' exists already

void CacheManager::CacheCraftCombos ( psMsgCraftingInfo tradePattern,
int  patternID,
int  group 
) [protected]

Caches in the crafting combinations.

Parameters:
tradePatternThe current pattern message we want to construct.
patternIDThe pattern ID of the pattern we are cacheing.
groupThe group.
void CacheManager::CacheCraftTransforms ( psMsgCraftingInfo tradePattern,
int  patternID,
int  group 
) [protected]

Caches in the crafting transforms.

Parameters:
tradePatternThe current pattern message we want to construct.
patternIDThe pattern ID of the pattern we are cacheing.
groupThe group.
void CacheManager::CacheNameChange ( csString  oldName,
csString  newName 
)

If an item changes name (eg book title) keep cache up to date.

int CacheManager::Contains ( csArray< uint32 > *  list,
uint32  id 
) [protected]

Check if an int value is already in an array This is used primarily with the "stack" arrays that track progress through a network of data nodes, to determine if a node has already been visited.

Parameters:
listThe array of ints
idThe int value to be checked for
Returns:
The number of matches found
PSITEMSTATS_STAT CacheManager::ConvertAttributeString ( const char *  attributestring)
PSCHARACTER_GENDER CacheManager::ConvertGenderString ( const char *  genderstring)
PSSKILL CacheManager::ConvertSkill ( int  skill_id)
PSSKILL CacheManager::ConvertSkillString ( const char *  skillstring)
PSTRAIT_LOCATION CacheManager::ConvertTraitLocationString ( const char *  locationstring) [protected]
psItemStats* CacheManager::CopyItemStats ( uint32  id,
csString  newName 
)
bool CacheManager::CreateAlliance ( const csString &  name,
psGuildInfo founder,
Client client 
)
csString CacheManager::CreateComboCraftDescription ( CombinationConstruction combArray)
csString CacheManager::CreateComboCraftDescription ( Result combArray)
bool CacheManager::CreateGuild ( const char *  guildname,
Client client 
)
csString CacheManager::CreateTransCraftDescription ( psTradeTransformations tran,
psTradeProcesses proc 
)
void CacheManager::DelBadName ( const char *  )
bool CacheManager::DescribeCombination ( Result combinations,
csArray< CraftTransInfo * > *  newArray 
) [protected]

build the description of a trade combination

Parameters:
combinationslist of components of a specific trade combination
newArrayArray that holds the CraftTransInfo objects needed to construct the text
Returns:
true
bool CacheManager::DescribeMultiTransformation ( csPDelArray< psTradeTransformations > *  rArray,
csArray< CraftTransInfo * > *  newArray 
) [protected]

build the description of the trade transformation where multiple tools can be used to produce the same result.

This is especially useful for enchanting gems.

Parameters:
rArraylist of trade transformations with multiple tools for same transform
newArrayArray that holds the CraftTransInfo objects needed to construct the text
Returns:
true
bool CacheManager::DescribeTransformation ( psTradeTransformations t,
csArray< CraftTransInfo * > *  newArray 
) [protected]

build the description of the trade transformation

Parameters:
tlist of trade transformations to describe
newArrayArray that holds the CraftTransInfo objects needed to construct the text
Returns:
true
psGuildAlliance* CacheManager::FindAlliance ( unsigned int  id)
csPDelArray<psItemAnimation>* CacheManager::FindAnimationList ( int  id)
csPDelArray<CombinationConstruction>* CacheManager::FindCombinationsList ( uint32  patternid)

Get set of transformations for that pattern.

const char* CacheManager::FindCommonString ( unsigned int  id)
unsigned int CacheManager::FindCommonStringID ( const char *  name)
bool CacheManager::FindFinalItem ( csHash< csHash< csPDelArray< psTradeTransformations > *, uint32 > *, uint32 > *  txItemHash,
csHash< csHash< csPDelArray< psTradeTransformations > *, uint32 > *, uint32 > *  rxItemHash,
csArray< uint32 > *  finalItems,
uint32  itemID,
csArray< uint32 > *  itemStack 
) [protected]

Build the list of 'final' items.

starting at any random node, recursively walk the data network until a 'final' looking node is encountered, then add it to the finalItems list.

Parameters:
txItemHashHash on item ID to find result ID
rxItemHashHash on result ID to find item ID
finalItemsArray listing item numbers considered 'final'
itemIDitem under current considerations
itemStackList of items already visited; used for detecting cycles inthe data
Returns:
psGuildInfo* CacheManager::FindGuild ( unsigned int  id)
psGuildInfo* CacheManager::FindGuild ( const csString &  name)
csPDelArray<psTradeTransformations>* CacheManager::FindTransformationsList ( uint32  patternid,
uint32  targetid 
)

Get transformation array for pattern and target item.

bool CacheManager::freeTradeTransformationsByPatternAndGroup ( csHash< csHash< csPDelArray< psTradeTransformations > *, uint32 > *, uint32 > *  txItemHash,
csHash< csHash< csPDelArray< psTradeTransformations > *, uint32 > *, uint32 > *  txResultHash 
) [protected]

dispose of transformation hashes for craft books.

Parameters:
txResultHashHash on result ID to find item ID
txItemHashHash on item ID to find result ID
Returns:
true
psAccountInfo* CacheManager::GetAccountInfoByCharID ( PID  charid)

Retrieves account information given an character ID.

Parameters:
charid- The unique id associated with the character.
Returns:
NULL if no account information was found for the given ID. The returned pointer must be deleted when no longer needed.
psAccountInfo* CacheManager::GetAccountInfoByID ( AccountID  accountid)

Retrieves account information given an accountid.

This is not the usual entry method. The username will be used more often.

Parameters:
accountid- The unique id associated with the account.
Returns:
NULL if no account information was found for the given ID. The returned pointer must be deleted when no longer needed.
psAccountInfo* CacheManager::GetAccountInfoByUsername ( const char *  username)

Retrieves account information given a username.

This is the usual method for looking up account information.

Parameters:
username- The unique username associated with the account.
Returns:
NULL if no account information was found for the given ID. The returned pointer must be deleted when no longer needed.
csArray<psAttack*> CacheManager::GetAllAttacks ( )
MathScript* CacheManager::GetArmorSkillsPractice ( ) [inline]

Definition at line 471 of file cachemanager.h.

float CacheManager::GetArmorVSWeaponResistance ( const char *  armor_type,
const char *  weapon_type 
)
float CacheManager::GetArmorVSWeaponResistance ( psItemStats armor,
psItemStats weapon 
)
psAttack* CacheManager::GetAttackByID ( unsigned int  id)
psAttack* CacheManager::GetAttackByName ( const char *  name)
csHash<psAttack *>::GlobalIterator CacheManager::GetAttackIterator ( )
psAttackType* CacheManager::GetAttackTypeByID ( unsigned int  id)
psAttackType* CacheManager::GetAttackTypeByName ( csString  name)
const char* CacheManager::GetBadName ( int  pos)
size_t CacheManager::GetBadNamesCount ( )
MathScript* CacheManager::GetBaseSkillValuesGet ( ) [inline]

Definition at line 474 of file cachemanager.h.

psItemStats* CacheManager::GetBasicItemStatsByID ( uint32  id)

Get item basic stats by hashed table.

psItemStats* CacheManager::GetBasicItemStatsByName ( csString  name)

Get item basic stats by hashed table.

MathScript* CacheManager::GetCalcDecay ( ) [inline]

Definition at line 476 of file cachemanager.h.

MathScript* CacheManager::GetCalcItemPrice ( ) [inline]

Definition at line 477 of file cachemanager.h.

MathScript* CacheManager::GetCalcItemSellPrice ( ) [inline]

Definition at line 478 of file cachemanager.h.

MathScript* CacheManager::GetCastSuccess ( ) [inline]

Definition at line 482 of file cachemanager.h.

MathScript* CacheManager::GetCharLevelGet ( ) [inline]

Definition at line 472 of file cachemanager.h.

const psCharMode* CacheManager::GetCharMode ( size_t  id) const [inline]

Definition at line 583 of file cachemanager.h.

uint8_t CacheManager::GetCharModeID ( const char *  name)
const csPDelArray<psCharMode>& CacheManager::GetCharModes ( ) const [inline]

Definition at line 575 of file cachemanager.h.

psCommandManager* CacheManager::GetCommandManager ( ) [inline]

Definition at line 248 of file cachemanager.h.

void CacheManager::GetCompressedMessageStrings ( char *&  data,
unsigned long &  size,
uint32_t &  num_strings,
csMD5::Digest &  digest 
)

Returns compressed message strings data.

Parameters:
dataPointer to the compressed data.
sizeSize of the compressed data in bytes.
num_stringsThe number of strings encoded.
digestThe md5sum digest of the compressed data.
MathScript* CacheManager::GetDoDamage ( ) [inline]

Definition at line 485 of file cachemanager.h.

MathScript* CacheManager::GetDodgeValueCalc ( ) [inline]

Definition at line 470 of file cachemanager.h.

MathScript* CacheManager::GetExpSkillCalc ( ) [inline]

Definition at line 464 of file cachemanager.h.

Faction* CacheManager::GetFaction ( int  id)
Faction* CacheManager::GetFaction ( const char *  name)
Faction* CacheManager::GetFactionByName ( const char *  name)
csHash<Faction*, int>& CacheManager::GetFactionHash ( ) [inline]

Definition at line 449 of file cachemanager.h.

MathScript* CacheManager::GetFamiliarAffinity ( ) [inline]

Definition at line 487 of file cachemanager.h.

size_t CacheManager::GetItemCategoryAmount ( ) [inline]

Gets the size of the item category array.

Useful to iterate it.

Returns:
The size of the array.

Definition at line 425 of file cachemanager.h.

psItemCategory* CacheManager::GetItemCategoryByID ( unsigned int  id)
psItemCategory* CacheManager::GetItemCategoryByName ( const csString &  name)
psItemCategory* CacheManager::GetItemCategoryByPos ( size_t  pos) [inline]

Gets an item category by its position in the array.

Useful to iterate it.

Parameters:
posThe position in the array from where to extract the category.
Returns:
A pointer to the category in the position.

Definition at line 418 of file cachemanager.h.

const psCharacterLimitation* CacheManager::GetLimitation ( size_t  index)

This allows psServerChar to build a list of limitations for each player on demand.

LootRandomizer* CacheManager::getLootRandomizer ( ) [inline]

Returns a pointer to the loot randomizer which is hosted within the cache manager.

Returns:
A pointer to the lootrandomizer.

Definition at line 641 of file cachemanager.h.

MathScript* CacheManager::GetManaCost ( ) [inline]

Definition at line 481 of file cachemanager.h.

MathScript* CacheManager::GetMaxCarryAmount ( ) [inline]

Definition at line 459 of file cachemanager.h.

MathScript* CacheManager::GetMaxCarryWeight ( ) [inline]

Definition at line 458 of file cachemanager.h.

MathScript* CacheManager::GetMaxHPScript ( ) [inline]

Definition at line 462 of file cachemanager.h.

MathScript* CacheManager::GetMaxManaScript ( ) [inline]

Definition at line 461 of file cachemanager.h.

MathScript* CacheManager::GetMaxRealmScript ( ) [inline]

Definition at line 460 of file cachemanager.h.

const psMovement* CacheManager::GetMovement ( size_t  id) const [inline]

Definition at line 587 of file cachemanager.h.

uint8_t CacheManager::GetMovementID ( const char *  name)
const csPDelArray<psMovement>& CacheManager::GetMovements ( ) const [inline]

Definition at line 579 of file cachemanager.h.

csStringSet* CacheManager::GetMsgStrings ( ) [inline]

Returns the message strings hash table.

Returns:
Returns a reference to the message strings hash table.

Definition at line 298 of file cachemanager.h.

optionEntry* CacheManager::getOption ( const csString  path) [inline]

Wrapper for the getOption method of the root optionEntry stored in cachemanager.

Parameters:
pathA path to the requested option starting from the root optionEntry.
Returns:
An optionEntry in the requested position. NULL if the path was not found.
See also:
optionEntry

Definition at line 618 of file cachemanager.h.

optionEntry* CacheManager::getOptionSafe ( const csString  path,
const csString  value 
) [inline]

Wrapper for the getOptionSafe method of the root optionEntry stored in cachemanager.

Parameters:
pathA path to the requested option starting from the root optionEntry.
valueThe value.
Returns:
An optionEntry in the requested position. NULL if the path was invalid.
See also:
optionEntry

Definition at line 631 of file cachemanager.h.

MathScript* CacheManager::GetPlayerSketchLimits ( ) [inline]

Definition at line 479 of file cachemanager.h.

ProgressionScript* CacheManager::GetProgressionScript ( const char *  name)
psQuest* CacheManager::GetQuestByID ( unsigned int  id)
psQuest* CacheManager::GetQuestByName ( const char *  name)
csHash<psQuest*>::GlobalIterator CacheManager::GetQuestIterator ( )
psRaceInfo* CacheManager::GetRaceInfoByID ( unsigned int  id)
psRaceInfo* CacheManager::GetRaceInfoByIndex ( int  idx)
psRaceInfo* CacheManager::GetRaceInfoByMeshName ( const csString &  meshname)
psRaceInfo* CacheManager::GetRaceInfoByNameGender ( const char *  name,
PSCHARACTER_GENDER  gender 
)
psRaceInfo* CacheManager::GetRaceInfoByNameGender ( unsigned int  id,
PSCHARACTER_GENDER  gender 
)
size_t CacheManager::GetRaceInfoCount ( )
MathScript* CacheManager::GetResearchSuccess ( ) [inline]

Definition at line 483 of file cachemanager.h.

psSectorInfo* CacheManager::GetSectorInfoByID ( unsigned int  id)
psSectorInfo* CacheManager::GetSectorInfoByName ( const char *  name)
csHash<psSectorInfo*>::GlobalIterator CacheManager::GetSectorIterator ( )
MathScript* CacheManager::GetSetBaseSkillsScript ( ) [inline]

Definition at line 475 of file cachemanager.h.

size_t CacheManager::GetSkillAmount ( )
psSkillInfo* CacheManager::GetSkillByID ( unsigned int  id)
psSkillInfo* CacheManager::GetSkillByName ( const char *  name)
void CacheManager::GetSkillsListbyCategory ( csArray< psSkillInfo * > &  listskill,
int  category 
)

Get all skills belonging to a specific category.

MathScript* CacheManager::GetSkillValuesGet ( ) [inline]

Definition at line 473 of file cachemanager.h.

psSpell* CacheManager::GetSpellByID ( unsigned int  id)
psSpell* CacheManager::GetSpellByName ( const csString &  name)
SpellIterator CacheManager::GetSpellIterator ( )
MathScript* CacheManager::GetSpellPowerLevel ( ) [inline]

Definition at line 480 of file cachemanager.h.

MathScript* CacheManager::GetSpellPractice ( ) [inline]

Definition at line 484 of file cachemanager.h.

MathScript* CacheManager::GetStaminaCalc ( ) [inline]

Definition at line 463 of file cachemanager.h.

MathScript* CacheManager::GetStaminaCombat ( ) [inline]

Definition at line 469 of file cachemanager.h.

MathScript* CacheManager::GetStaminaMove ( ) [inline]

Definition at line 486 of file cachemanager.h.

MathScript* CacheManager::GetStaminaRatioSit ( ) [inline]

Definition at line 467 of file cachemanager.h.

MathScript* CacheManager::GetStaminaRatioStill ( ) [inline]

Definition at line 466 of file cachemanager.h.

MathScript* CacheManager::GetStaminaRatioWalk ( ) [inline]

Definition at line 465 of file cachemanager.h.

MathScript* CacheManager::GetStaminaRatioWork ( ) [inline]

Definition at line 468 of file cachemanager.h.

void CacheManager::GetTipByID ( int  id,
csString &  tip 
)
unsigned int CacheManager::GetTipLength ( )

Returns how many tips there is.

csArray<CraftComboInfo*>* CacheManager::GetTradeComboInfoByItemID ( uint32  id)
csArray<psTradePatterns*> CacheManager::GetTradePatternByItemID ( uint32  id)
psTradePatterns* CacheManager::GetTradePatternByName ( csString  name)
csArray<psTradeProcesses*>* CacheManager::GetTradeProcessesByID ( uint32  id)
csArray<CraftTransInfo*>* CacheManager::GetTradeTransInfoByItemID ( uint32  id)
csArray<uint32>* CacheManager::GetTradeTransUniqueByID ( uint32  id)
psTrait* CacheManager::GetTraitByID ( unsigned int  id)
psTrait* CacheManager::GetTraitByName ( const char *  name)
TraitIterator CacheManager::GetTraitIterator ( )
psWay* CacheManager::GetWayByID ( unsigned int  id)
psWay* CacheManager::GetWayByName ( const csString &  name)
psWeaponType* CacheManager::GetWeaponTypeByID ( unsigned int  id)
psWeaponType* CacheManager::GetWeaponTypeByName ( csString  name)
size_t CacheManager::ItemStatsSize ( void  ) [inline]

Definition at line 529 of file cachemanager.h.

bool CacheManager::ListProductionSteps ( csArray< CraftTransInfo * > *  newArray,
csHash< csHash< csPDelArray< psTradeTransformations > *, uint32 > *, uint32 > *  txResultHash,
csArray< uint32 > *  finalItems,
uint32  itemID,
uint32  patternID,
uint32  groupID,
csArray< uint32 > *  itemStack 
) [protected]

main procedure constructing the recipe steps

Parameters:
newArrayArray that holds the CraftTransInfo objects needed to construct the text
txResultHashHash of trade transformations by result item
finalItemslist of items identified as 'final'; these are used to construct the seperate recipes in a single book.
itemIDwhich item to construct the recipe for
patternIDwhich pattern id to construct the recipe for
groupIDwhich group (ie craft book) to construct the recipe for
itemStackarray that keeps track of items visited in the traversal of data; used to detect loops in the data.
bool CacheManager::LoadAttack ( int  id)

Loads an attack and its scripts.

bool CacheManager::LoadQuest ( int  id)

Loads a quest and its scripts.

bool CacheManager::loadTradeTransformationsByPatternAndGroup ( Result result,
csHash< csHash< csPDelArray< psTradeTransformations > *, uint32 > *, uint32 > *  txResultHash,
csHash< csHash< csPDelArray< psTradeTransformations > *, uint32 > *, uint32 > *  txItemHash 
) [protected]

load transformations into hashes for faster access.

NOTE that these hashes are for use specifically in creating the Craft book messages and are cleaned up after.

Parameters:
txResultHashHash on result ID to find item ID
txItemHashHash on item ID to find result ID
Returns:
true
bool CacheManager::LoadWorldItems ( psSectorInfo sector,
csArray< psItem * > &  items 
)
const char* CacheManager::MakeCacheName ( const char *  prefix,
uint32  id 
)
unsigned int CacheManager::NewAccountInfo ( psAccountInfo ainfo)

Call to create a new account in the database.

Parameters:
ainfo- Should be initialized with all needed account info.
Returns:
The accountid assigned to this account (also stored in the appropriate field in ainfo)
uint32_t CacheManager::NextEffectUID ( ) [inline]

Used to track effect IDs.

Definition at line 595 of file cachemanager.h.

bool CacheManager::PreloadAll ( EntityManager entitymanager)

Convenience function to preload all of the above in an appropriate order.

bool CacheManager::PreloadArmorVsWeapon ( ) [protected]
bool CacheManager::PreloadAttacks ( ) [protected]
bool CacheManager::PreloadAttackTypes ( ) [protected]
bool CacheManager::PreloadBadNames ( ) [protected]
void CacheManager::PreloadCommandGroups ( ) [protected]
bool CacheManager::PreloadCraftMessages ( ) [protected]

Cache in the crafting messages.

void CacheManager::PreloadFactionCharacterEvents ( const char *  script,
Faction faction 
) [protected]

preloads the character events script for a faction

bool CacheManager::PreloadFactions ( ) [protected]
bool CacheManager::PreloadItemAnimList ( ) [protected]
bool CacheManager::PreloadItemCategories ( ) [protected]
bool CacheManager::PreloadItemStatsDatabase ( ) [protected]
bool CacheManager::PreloadLimitations ( ) [protected]
bool CacheManager::PreloadLootModifiers ( ) [protected]

Loads the loot modifiers from the loot modifiers table.

Returns:
TRUE if there were no issues during loading, else FALSE.
bool CacheManager::PreloadMathScripts ( ) [protected]
bool CacheManager::PreloadMovement ( ) [protected]
bool CacheManager::PreloadOptions ( ) [protected]

Preloads the server_options and stores them in an easily accessible structure.

Returns:
FALSE if the load failed
bool CacheManager::PreloadQuests ( ) [protected]
bool CacheManager::PreloadRaceInfo ( ) [protected]
bool CacheManager::PreloadScripts ( EntityManager entitymanager) [protected]
bool CacheManager::PreloadSectors ( ) [protected]
bool CacheManager::PreloadSkills ( ) [protected]
bool CacheManager::PreloadSpells ( ) [protected]
bool CacheManager::PreloadStances ( ) [protected]
bool CacheManager::PreloadTips ( ) [protected]
bool CacheManager::PreloadTradeCombinations ( ) [protected]
bool CacheManager::PreloadTradePatterns ( )
bool CacheManager::PreloadTradeProcesses ( )
bool CacheManager::PreloadTradeTransformations ( ) [protected]
bool CacheManager::PreloadTraits ( ) [protected]
bool CacheManager::PreloadUniqueTradeTransformations ( )
bool CacheManager::PreloadWays ( ) [protected]
bool CacheManager::PreloadWeaponTypes ( ) [protected]
void CacheManager::RandomizeItem ( psItem item,
float  maxCost,
size_t  numModifiers 
) [inline]

Randomizes the passed item.

Parameters:
itemThe item which we are going to randomize.
maxCostThe maximum cost allowed to the randomized item
numModifiersThe maximum amount of modifiers to apply.

Definition at line 662 of file cachemanager.h.

bool CacheManager::ReconcileFinalItems ( csHash< csHash< csPDelArray< psTradeTransformations > *, uint32 > *, uint32 > *  txItemHash,
csHash< csHash< csPDelArray< psTradeTransformations > *, uint32 > *, uint32 > *  rxItemHash,
csArray< uint32 > *  finalItems,
csArray< uint32 > *  craftBookItems,
uint32  resultID,
uint32  patternID,
csArray< uint32 > *  itemStack 
) [protected]

From the list of final items, extract those that belong to the specified craft book.

Parameters:
txItemHashHash on item ID to find result ID
rxItemHashHash on result ID to find item ID
finalItemsArray listing item numbers considered 'final'
craftBookItemsArray listing item numbers considered 'final'
resultIDItem under current considerations
patternIDpattern that specifies the craft Book
itemStackList of items already visited; used for detecting cycles inthe data
Returns:
true
bool CacheManager::ReloadOptions ( ) [inline]

Reloads the server_options.

Returns:
FALSE if the reload failed

Definition at line 670 of file cachemanager.h.

bool CacheManager::RemoveAlliance ( psGuildAlliance which)
iCachedObject* CacheManager::RemoveFromCache ( const char *  name)
void CacheManager::RemoveGuild ( psGuildInfo which)
void CacheManager::RemoveInstance ( psItem *&  item)
void CacheManager::RemoveItemStats ( psItemStats *&  itemStats)
bool CacheManager::UniqueInsertIntoItemArray ( csArray< uint32 > *  finalItems,
uint32  itemID 
) [protected]

Insert the itemID into an array, sorted according the the item's Name, no more than one time.

Parameters:
finalItemsThe array of items
itemIDThe ID number of the item to be inserted/sorted
void CacheManager::UnloadAll ( )
bool CacheManager::UnloadAttack ( int  id)

unload an attack and its scripts

bool CacheManager::UnloadQuest ( int  id)

Unloads a quest and its scripts.

bool CacheManager::UpdateAccountInfo ( psAccountInfo ainfo)

Call to store modified account information back to the database.

Updates IP, security level, last login time, os, graphics card and graphics driver version.

Parameters:
ainfo- A pointer to account data to store.
Returns:
true - success false - failed

Member Data Documentation

Definition at line 921 of file cachemanager.h.

csPDelArray<ArmorVsWeapon> CacheManager::armor_vs_weapon [protected]

Definition at line 934 of file cachemanager.h.

Script to set the practice points for armor skills.

Definition at line 955 of file cachemanager.h.

csHash<psAttack *> CacheManager::attacks_by_id [protected]

Definition at line 922 of file cachemanager.h.

csPDelArray<psAttackType > CacheManager::attackTypeList [protected]

Definition at line 910 of file cachemanager.h.

csStringArray CacheManager::bad_names [protected]

Definition at line 933 of file cachemanager.h.

Script to get the base skill values.

Definition at line 958 of file cachemanager.h.

char CacheManager::CacheNameBuffer[15] [protected]

Definition at line 677 of file cachemanager.h.

This is the particular calculation for decay.

Definition at line 960 of file cachemanager.h.

Definition at line 961 of file cachemanager.h.

Definition at line 962 of file cachemanager.h.

Definition at line 966 of file cachemanager.h.

csPDelArray<psCharMode> CacheManager::char_modes [protected]

Definition at line 935 of file cachemanager.h.

Script to get the current char level.

Definition at line 956 of file cachemanager.h.

Definition at line 938 of file cachemanager.h.

Definition at line 894 of file cachemanager.h.

Definition at line 897 of file cachemanager.h.

Definition at line 895 of file cachemanager.h.

Definition at line 969 of file cachemanager.h.

Script for calculating dodge value.

Definition at line 954 of file cachemanager.h.

uint32_t CacheManager::effectID [protected]

Definition at line 676 of file cachemanager.h.

The exp calc script to assign experience on skill ranking.

Definition at line 948 of file cachemanager.h.

csHash<Faction*, csString> CacheManager::factions [protected]

Definition at line 913 of file cachemanager.h.

csHash<Faction*, int> CacheManager::factions_by_id [protected]

Definition at line 912 of file cachemanager.h.

csHash<CachedObject*, csString> CacheManager::generic_object_cache [protected]

This cache is intended to keep database-loaded objects in memory for a time after we are done with them to avoid reloading in case they are reused soon.

Definition at line 890 of file cachemanager.h.

Definition at line 920 of file cachemanager.h.

csPDelArray<csPDelArray<psItemAnimation > > CacheManager::item_anim_list [protected]

Definition at line 919 of file cachemanager.h.

Definition at line 908 of file cachemanager.h.

Translation table for Flag strings (from db) into bit codes.

Definition at line 569 of file cachemanager.h.

csHash<psItemStats*,uint32> CacheManager::itemStats_IDHash [protected]

Definition at line 917 of file cachemanager.h.

csHash<psItemStats*,csString> CacheManager::itemStats_NameHash [protected]

Definition at line 918 of file cachemanager.h.

csPDelArray<psCharacterLimitation> CacheManager::limits [protected]

All the limitations based on scores for characters.

Definition at line 937 of file cachemanager.h.

A pointer to the lootrandomizer mantained by the cachemanager.

Definition at line 941 of file cachemanager.h.

Definition at line 965 of file cachemanager.h.

A pointer maintained by MathScriptEngine.

Definition at line 943 of file cachemanager.h.

A pointer maintained by MathScriptEngine.

Definition at line 942 of file cachemanager.h.

Definition at line 946 of file cachemanager.h.

Definition at line 945 of file cachemanager.h.

Definition at line 944 of file cachemanager.h.

csPDelArray<psMovement> CacheManager::movements [protected]

Definition at line 936 of file cachemanager.h.

Definition at line 971 of file cachemanager.h.

csStringSet CacheManager::msg_strings [protected]

Definition at line 893 of file cachemanager.h.

Definition at line 896 of file cachemanager.h.

Definition at line 963 of file cachemanager.h.

csHash<psQuest *> CacheManager::quests_by_id [protected]

Definition at line 923 of file cachemanager.h.

csPDelArray<psRaceInfo > CacheManager::raceinfolist [protected]

Definition at line 902 of file cachemanager.h.

Definition at line 967 of file cachemanager.h.

Definition at line 939 of file cachemanager.h.

csHash<ProgressionScript*,csString> CacheManager::scripts [protected]

Definition at line 914 of file cachemanager.h.

Sector info list hashed by sector id.

Definition at line 899 of file cachemanager.h.

Sector info list hashed by sector name.

Definition at line 900 of file cachemanager.h.

Definition at line 959 of file cachemanager.h.

Definition at line 906 of file cachemanager.h.

Definition at line 904 of file cachemanager.h.

csHash<psSkillInfo*, csString> CacheManager::skillinfo_NameHash [protected]

Definition at line 905 of file cachemanager.h.

Script to get the current skill values.

Definition at line 957 of file cachemanager.h.

Definition at line 554 of file cachemanager.h.

Definition at line 560 of file cachemanager.h.

csPDelArray<psSpell > CacheManager::spellList [protected]

Definition at line 915 of file cachemanager.h.

Definition at line 964 of file cachemanager.h.

Definition at line 968 of file cachemanager.h.

The stamina calc script.

Definition at line 947 of file cachemanager.h.

Definition at line 953 of file cachemanager.h.

Definition at line 970 of file cachemanager.h.

The stamina regen ration while sitting script.

Definition at line 951 of file cachemanager.h.

The stamina regen ration while standing script.

Definition at line 950 of file cachemanager.h.

The stamina regen ration while walking script.

Definition at line 949 of file cachemanager.h.

The stamina regen ration while working script.

Definition at line 952 of file cachemanager.h.

Map of locations.

Definition at line 607 of file cachemanager.h.

List of stances.

Definition at line 604 of file cachemanager.h.

csArray<csString> CacheManager::tips_list [protected]

List for the tips.

Definition at line 932 of file cachemanager.h.

csHash<csPDelArray<CombinationConstruction> *,uint32> CacheManager::tradeCombinations_IDHash [protected]

Definition at line 927 of file cachemanager.h.

Definition at line 931 of file cachemanager.h.

Definition at line 930 of file cachemanager.h.

Definition at line 924 of file cachemanager.h.

csHash<psTradePatterns *,csString> CacheManager::tradePatterns_NameHash [protected]

Definition at line 925 of file cachemanager.h.

Definition at line 926 of file cachemanager.h.

csHash<csHash<csPDelArray<psTradeTransformations> *,uint32> *,uint32> CacheManager::tradeTransformations_IDHash [protected]

Definition at line 928 of file cachemanager.h.

csHash<csArray<uint32> *,uint32> CacheManager::tradeTransUnique_IDHash [protected]

Definition at line 929 of file cachemanager.h.

csPDelArray<psTrait > CacheManager::traitlist [protected]

Definition at line 901 of file cachemanager.h.

csPDelArray<psWay > CacheManager::wayList [protected]

Definition at line 909 of file cachemanager.h.

csPDelArray<psWeaponType > CacheManager::weaponTypeList [protected]

Definition at line 911 of file cachemanager.h.


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