All Classes Namespaces Functions Variables Enumerations Enumerator Properties
plyGame.ActorAttributeData Class Reference

Data related to an Actor Attribute. More...

Public Member Functions

override string ToString ()
 
ActorAttributeData Copy ()
 
void CopyTo (ActorAttributeData o)
 

Public Attributes

UniqueID id
 Id of the Attribute represented by this Data.
 
int baseValue = 5
 What the base value must be inited with.
 
int maxValue = 999
 The absolute max the attribute's 'value' can ever reach.
 
bool canGrow = false
 Can the attribute's value grow with the level?
 
plyCurve growthCurve = new plyCurve(0, 0, 0)
 How doe sis grow?
 
bool alsoUpdateConsumable = true
 Set to true to also have the consumable value restore to what the Value will be. This is normally done to restore the character's health, mana, etc to the max when the character level up.
 

Properties

string nameCache [get, set]
 

Detailed Description

Data related to an Actor Attribute.