Planeshift
Classes | Public Member Functions | Public Attributes

psCharVerificationMesg Class Reference

Message that has a list of the stats and skills that will be created for a character. More...

#include <charmessages.h>

List of all members.

Classes

struct  Attribute

Public Member Functions

void AddSkill (int value, const char *attributeName)
void AddStat (int value, const char *attributeName)
 Add a new variable to the list.
void Construct ()
 psCharVerificationMesg (MsgEntry *me)
 psCharVerificationMesg (uint32_t client)
 PSF_DECLARE_MSG_FACTORY ()
virtual csString ToString (NetBase::AccessPointers *accessPointers)
 Convert the message into human readable string.

Public Attributes

uint32_t clientnum
size_t runningSize
csArray
< psCharVerificationMesg::Attribute
skills
csArray
< psCharVerificationMesg::Attribute
stats

Detailed Description

Message that has a list of the stats and skills that will be created for a character.

Definition at line 116 of file charmessages.h.


Constructor & Destructor Documentation

psCharVerificationMesg::psCharVerificationMesg ( uint32_t  client)
psCharVerificationMesg::psCharVerificationMesg ( MsgEntry me)

Member Function Documentation

void psCharVerificationMesg::AddSkill ( int  value,
const char *  attributeName 
)
void psCharVerificationMesg::AddStat ( int  value,
const char *  attributeName 
)

Add a new variable to the list.

Parameters:
value= the value or rank of the attribute
attributeName= the name of the stat/skill
void psCharVerificationMesg::Construct ( )
psCharVerificationMesg::PSF_DECLARE_MSG_FACTORY ( )
virtual csString psCharVerificationMesg::ToString ( NetBase::AccessPointers accessPointers) [virtual]

Convert the message into human readable string.

Parameters:
accessPointersA struct to a number of access pointers.
Returns:
Return a human readable string for the message.

Implements psMessageCracker.


Member Data Documentation

Definition at line 155 of file charmessages.h.

Definition at line 152 of file charmessages.h.

Definition at line 149 of file charmessages.h.

Definition at line 148 of file charmessages.h.


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