Planeshift
Public Member Functions | Public Attributes

psAuthRejectedMessage Class Reference

Message sent from server to client if login was not valid. More...

#include <messages.h>

List of all members.

Public Member Functions

 psAuthRejectedMessage (uint32_t clientToken, const char *reason)
 Create psMessageBytes struct for outbound use.
 psAuthRejectedMessage (MsgEntry *message)
 Crack incoming psMessageBytes struct for inbound use.
 PSF_DECLARE_MSG_FACTORY ()
virtual csString ToString (NetBase::AccessPointers *accessPointers)
 Converts the message into human readable string.

Public Attributes

csString msgReason
 This is something like "account not valid" or "password not valid.

Detailed Description

Message sent from server to client if login was not valid.

Definition at line 750 of file messages.h.


Constructor & Destructor Documentation

psAuthRejectedMessage::psAuthRejectedMessage ( uint32_t  clientToken,
const char *  reason 
)

Create psMessageBytes struct for outbound use.

psAuthRejectedMessage::psAuthRejectedMessage ( MsgEntry message)

Crack incoming psMessageBytes struct for inbound use.


Member Function Documentation

psAuthRejectedMessage::PSF_DECLARE_MSG_FACTORY ( )
virtual csString psAuthRejectedMessage::ToString ( NetBase::AccessPointers accessPointers) [virtual]

Converts 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

This is something like "account not valid" or "password not valid.

Definition at line 754 of file messages.h.


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