Planeshift
|
Opposite of psCharApprovedMessage. More...
#include <charmessages.h>
Public Types | |
enum | ErrorTypes { UNKNOWN, NON_LEGAL_NAME, NON_UNIQUE_NAME, RESERVED_NAME, INVALID_CREATION, FAILED_ACCOUNT } |
Possible Character Rejection Reasons. More... | |
Public Member Functions | |
psCharRejectedMessage (uint32_t clientnum, int type=UNKNOWN, const char *msg="Unknown error") | |
Constructed on server for the client. | |
psCharRejectedMessage (MsgEntry *msg) | |
Constructed on client to crack message. | |
PSF_DECLARE_MSG_FACTORY () | |
virtual csString | ToString (NetBase::AccessPointers *accessPointers) |
Convert the message into human readable string. | |
Public Attributes | |
csString | errorMesg |
Holds error message from the server. | |
int | errorType |
The error type ( from enum ) |
Opposite of psCharApprovedMessage.
Hands back a type and error message for the client to display.
Definition at line 73 of file charmessages.h.
Possible Character Rejection Reasons.
Definition at line 77 of file charmessages.h.
psCharRejectedMessage::psCharRejectedMessage | ( | uint32_t | clientnum, |
int | type = UNKNOWN , |
||
const char * | msg = "Unknown error" |
||
) |
Constructed on server for the client.
psCharRejectedMessage::psCharRejectedMessage | ( | MsgEntry * | msg | ) |
Constructed on client to crack message.
psCharRejectedMessage::PSF_DECLARE_MSG_FACTORY | ( | ) |
virtual csString psCharRejectedMessage::ToString | ( | NetBase::AccessPointers * | accessPointers | ) | [virtual] |
Convert the message into human readable string.
accessPointers | A struct to a number of access pointers. |
Implements psMessageCracker.
csString psCharRejectedMessage::errorMesg |
Holds error message from the server.
Definition at line 107 of file charmessages.h.
The error type ( from enum )
Definition at line 104 of file charmessages.h.