Planeshift
psCharUploadMessage Class Reference

#include <charmessages.h>

Public Member Functions

 psCharUploadMessage (bool verify, const char *name, const char *lastname, int race, int gender, csArray< uint32_t > choices, int motherMod, int fatherMod, csArray< uint32_t > lifeEvents, int selectedFace, int selectedHairStyle, int selectedBeardStyle, int selectedHairColour, int selectedSkinColour, const char *bio, const char *path)
 
 psCharUploadMessage (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

csString bio
 
csArray< uint32_t > choices
 
int fatherMod
 
int gender
 
csString lastname
 
csArray< uint32_t > lifeEvents
 
int motherMod
 
csString name
 
csString path
 
int race
 
int selectedBeardStyle
 
int selectedFace
 
int selectedHairColour
 
int selectedHairStyle
 
int selectedSkinColour
 
bool verify
 
- Public Attributes inherited from psMessageCracker
int filterNumber
 
csRef< MsgEntrymsg
 
bool valid
 

Additional Inherited Members

- Static Public Attributes inherited from psMessageCracker
static MsgHandlermsghandler
 

Detailed Description

Definition at line 160 of file charmessages.h.

Constructor & Destructor Documentation

psCharUploadMessage::psCharUploadMessage ( bool  verify,
const char *  name,
const char *  lastname,
int  race,
int  gender,
csArray< uint32_t >  choices,
int  motherMod,
int  fatherMod,
csArray< uint32_t >  lifeEvents,
int  selectedFace,
int  selectedHairStyle,
int  selectedBeardStyle,
int  selectedHairColour,
int  selectedSkinColour,
const char *  bio,
const char *  path 
)
psCharUploadMessage::psCharUploadMessage ( MsgEntry me)

Member Function Documentation

psCharUploadMessage::PSF_DECLARE_MSG_FACTORY ( )
virtual csString psCharUploadMessage::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

csString psCharUploadMessage::bio

Definition at line 200 of file charmessages.h.

csArray<uint32_t> psCharUploadMessage::choices

Definition at line 188 of file charmessages.h.

int psCharUploadMessage::fatherMod

Definition at line 197 of file charmessages.h.

int psCharUploadMessage::gender

Definition at line 186 of file charmessages.h.

csString psCharUploadMessage::lastname

Definition at line 184 of file charmessages.h.

csArray<uint32_t> psCharUploadMessage::lifeEvents

Definition at line 189 of file charmessages.h.

int psCharUploadMessage::motherMod

Definition at line 198 of file charmessages.h.

csString psCharUploadMessage::name

Definition at line 183 of file charmessages.h.

csString psCharUploadMessage::path

Definition at line 201 of file charmessages.h.

int psCharUploadMessage::race

Definition at line 185 of file charmessages.h.

int psCharUploadMessage::selectedBeardStyle

Definition at line 193 of file charmessages.h.

int psCharUploadMessage::selectedFace

Definition at line 191 of file charmessages.h.

int psCharUploadMessage::selectedHairColour

Definition at line 194 of file charmessages.h.

int psCharUploadMessage::selectedHairStyle

Definition at line 192 of file charmessages.h.

int psCharUploadMessage::selectedSkinColour

Definition at line 195 of file charmessages.h.

bool psCharUploadMessage::verify

Definition at line 182 of file charmessages.h.


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