Pol  Rev 533
AttributeValue Class Reference

#include <charactr.h>

List of all members.

Public Member Functions

 AttributeValue ()
int base () const
void base (unsigned short base)
unsigned short cap () const
void cap (unsigned short cap)
int effective () const
int effective_tenths () const
int intrinsic_mod () const
void intrinsic_mod (short val)
unsigned char lock () const
void lock (unsigned char lockstate)
int temp_mod () const
void temp_mod (short temp)

Private Attributes

unsigned short _base
unsigned short _cap
short _intrinsic
unsigned char _lockstate
short _temp

Detailed Description

Definition at line 86 of file charactr.h.


Constructor & Destructor Documentation

Definition at line 89 of file charactr.h.


Member Function Documentation

void AttributeValue::base ( unsigned short  base) [inline]

Definition at line 111 of file charactr.h.

References _base, ATTRIBUTE_MAX_BASE, base(), and passert.

+ Here is the call graph for this function:

void AttributeValue::cap ( unsigned short  cap) [inline]

Definition at line 148 of file charactr.h.

References _cap, and cap().

+ Here is the call graph for this function:

int AttributeValue::intrinsic_mod ( ) const [inline]

Definition at line 126 of file charactr.h.

References _intrinsic.

Referenced by Character::calc_single_attribute(), and AttributeExecutorModule::mf_GetAttributeIntrinsicMod().

+ Here is the caller graph for this function:

void AttributeValue::intrinsic_mod ( short  val) [inline]

Definition at line 130 of file charactr.h.

References _intrinsic.

void AttributeValue::lock ( unsigned char  lockstate) [inline]

Definition at line 139 of file charactr.h.

References _lockstate.

void AttributeValue::temp_mod ( short  temp) [inline]

Definition at line 121 of file charactr.h.

References _temp.


Member Data Documentation

unsigned short AttributeValue::_base [private]

Definition at line 154 of file charactr.h.

Referenced by base(), effective(), and effective_tenths().

unsigned short AttributeValue::_cap [private]

Definition at line 158 of file charactr.h.

Referenced by cap().

short AttributeValue::_intrinsic [private]

Definition at line 156 of file charactr.h.

Referenced by effective(), effective_tenths(), and intrinsic_mod().

unsigned char AttributeValue::_lockstate [private]

Definition at line 157 of file charactr.h.

Referenced by lock().

short AttributeValue::_temp [private]

Definition at line 155 of file charactr.h.

Referenced by effective(), effective_tenths(), and temp_mod().


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