Planeshift
psCharacterLimitation Struct Reference

This class allows CacheManager to yield a list of qualifying values given a player's score at something. More...

#include <cachemanager.h>

Public Attributes

uint32 id
 unique id More...
 
csString limit_type
 'SKETCH' limitations all have this word here More...
 
int min_score
 What must a player score to earn this ability. More...
 
csString value
 What is the name of the ability they earn. More...
 

Detailed Description

This class allows CacheManager to yield a list of qualifying values given a player's score at something.

The score could be a skill value, a stat value or a mathscript result which combines multiple values. For example, with sketches, an array of these is used to yield a list of icons the player may use with this character, based on Illustration skill and INT.

Definition at line 131 of file cachemanager.h.

Member Data Documentation

uint32 psCharacterLimitation::id

unique id

Definition at line 133 of file cachemanager.h.

csString psCharacterLimitation::limit_type

'SKETCH' limitations all have this word here

Definition at line 134 of file cachemanager.h.

int psCharacterLimitation::min_score

What must a player score to earn this ability.

Definition at line 135 of file cachemanager.h.

csString psCharacterLimitation::value

What is the name of the ability they earn.

Definition at line 136 of file cachemanager.h.


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