1 #ifndef PS_CHAR_MESSAGES_H 2 #define PS_CHAR_MESSAGES_H 4 #include <csutil/parray.h> 142 void AddStat(
int value,
const char* attributeName );
143 void AddSkill(
int value,
const char* attributeName );
148 csArray<psCharVerificationMesg::Attribute>
stats;
149 csArray<psCharVerificationMesg::Attribute>
skills;
163 psCharUploadMessage(
bool verify,
const char* name,
const char* lastname,
int race,
int gender,
164 csArray<uint32_t> choices,
int motherMod,
int fatherMod, csArray<uint32_t> lifeEvents,
165 int selectedFace,
int selectedHairStyle,
int selectedBeardStyle,
166 int selectedHairColour,
int selectedSkinColour,
const char* bio,
const char* path );
282 void AddChoice(
int id,
const char* name,
const char* description,
int area,
int cost );
285 void ConstructMessage();
336 void ConstructMessage();
Defines the structure needed to send a life event across the network.
csArray< int > adds
Description of choice ( will be displayed )
csArray< psCharVerificationMesg::Attribute > stats
int common
List of chices current choice removes.
Opposite of psCharApprovedMessage.
csArray< uint32_t > lifeEvents
Struct used by MessageCracker and ToString to distribute a number of access pointers.
A Creation Choice that the client can make.
int errorType
The error type ( from enum )
virtual csString ToString(NetBase::AccessPointers *accessPointers)
Convert the message into human readable string.
Used to confirm that a character has been uploaded.
csArray< int > removes
List of choices current choice can add.
The structure of 1 queue entry (pointer to a message)
csArray< uint32_t > choices
int cpCost
This is a base choice not dependent on others.
PSTRAIT_LOCATION
Define the player controled base customization that their model can have.
Defines a Life Event message.
Message that has a list of the stats and skills that will be created for a character.
All net messages inherit from this class.
csString errorMesg
Holds error message from the server.
psCharApprovedMessage(uint32_t clientnum)
Constructed on server for client.
csPDelArray< LifeEventChoice > choices
CreationAreas
This is a list of all the possible choice areas.
PSF_DECLARE_MSG_FACTORY()
ErrorTypes
Possible Character Rejection Reasons.
csArray< psCharVerificationMesg::Attribute > skills
csArray< CreationChoice > choices
Holds a list of all the choices in this message.
csString description
Name of choice ( will be displayed in list box )
A general message class for sending a character creation choice.