Planeshift
psCharVerificationMesg Class Reference

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

#include <charmessages.h>

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. More...
 
void Construct ()
 
 psCharVerificationMesg (uint32_t client)
 
 psCharVerificationMesg (MsgEntry *me)
 
 PSF_DECLARE_MSG_FACTORY ()
 
virtual csString ToString (NetBase::AccessPointers *accessPointers)
 Convert the message into human readable string. More...
 
- Public Member Functions inherited from psMessageCracker
void FireEvent ()
 Publishes the message to the local program. More...
 
virtual csString GetMessageTypeName () const =0
 Gets the name of the message type. More...
 
void Multicast (csArray< PublishDestination > &multi, uint32_t except, float range)
 Multicasts the message to all current connections. More...
 
 psMessageCracker ()
 
void SendMessage ()
 Sends the message to the client/server. More...
 
virtual ~psMessageCracker ()
 

Public Attributes

uint32_t clientnum
 
size_t runningSize
 
csArray< psCharVerificationMesg::Attributeskills
 
csArray< psCharVerificationMesg::Attributestats
 
- Public Attributes inherited from psMessageCracker
int filterNumber
 
csRef< MsgEntrymsg
 
bool valid
 

Additional Inherited Members

- Static Public Attributes inherited from psMessageCracker
static MsgHandlermsghandler
 

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

uint32_t psCharVerificationMesg::clientnum

Definition at line 155 of file charmessages.h.

size_t psCharVerificationMesg::runningSize

Definition at line 152 of file charmessages.h.

csArray<psCharVerificationMesg::Attribute> psCharVerificationMesg::skills

Definition at line 149 of file charmessages.h.

csArray<psCharVerificationMesg::Attribute> psCharVerificationMesg::stats

Definition at line 148 of file charmessages.h.


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