Planeshift
Public Member Functions | Public Attributes

charVariable Class Reference

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

#include <pscharacter.h>

List of all members.

Public Member Functions

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

Public Attributes

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

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

Says if the variable was modified.

Definition at line 587 of file pscharacter.h.

A buffable interpretation of the variable.

Definition at line 588 of file pscharacter.h.

The name of the variable.

Definition at line 585 of file pscharacter.h.

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: