Planeshift
charVariable Class Reference

This is used to char a charVariable. More...

#include <pscharacter.h>

Public Member Functions

 charVariable ()
 
 charVariable (csString name, csString value)
 
 charVariable (csString name, csString value, bool dirty)
 
Buffable< int > & GetBuffable ()
 

Public Attributes

bool dirty
 Says if the variable was modified. More...
 
Buffable< intintBuff
 A buffable interpretation of the variable. More...
 
csString name
 The name of the variable. More...
 
csString value
 The value assigned to this variable. More...
 

Detailed Description

This is used to char a charVariable.

This is a variable which can be set and then accessed from various places allowing for example scripts or quests to check if they are set and or with what value. The names must be unique (only one per character)

Definition at line 582 of file pscharacter.h.

Constructor & Destructor Documentation

charVariable::charVariable ( )
inline

Definition at line 596 of file pscharacter.h.

charVariable::charVariable ( csString  name,
csString  value 
)
inline

Definition at line 597 of file pscharacter.h.

charVariable::charVariable ( csString  name,
csString  value,
bool  dirty 
)
inline

Definition at line 601 of file pscharacter.h.

Member Function Documentation

Buffable<int>& charVariable::GetBuffable ( )
inline

Definition at line 591 of file pscharacter.h.

Member Data Documentation

bool charVariable::dirty

Says if the variable was modified.

Definition at line 587 of file pscharacter.h.

Buffable<int> charVariable::intBuff

A buffable interpretation of the variable.

Definition at line 588 of file pscharacter.h.

csString charVariable::name

The name of the variable.

Definition at line 585 of file pscharacter.h.

csString charVariable::value

The value assigned to this variable.

Definition at line 586 of file pscharacter.h.


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