Planeshift
Public Types | Public Member Functions | Public Attributes

psQuestionMessage Class Reference

#include <messages.h>

List of all members.

Public Types

enum  questionType_t { generalConfirm, secretGuildNotify, duelConfirm, marriageConfirm }
 

Various questions that are posed to the user.

More...

Public Member Functions

 PSF_DECLARE_MSG_FACTORY ()
 psQuestionMessage (MsgEntry *me)
 psQuestionMessage (int clientnum, uint32_t questionID, const char *question, questionType_t type)
virtual csString ToString (NetBase::AccessPointers *accessPointers)
 Converts the message into human readable string.

Public Attributes

csString question
uint32_t questionID
questionType_t type

Detailed Description

Definition at line 3715 of file messages.h.


Member Enumeration Documentation

Various questions that are posed to the user.

If a specific type is not below, use the generic generalConfirm type.

Enumerator:
generalConfirm 

A general question that may concern anything.

secretGuildNotify 

Used to hide members of secret guilds.

Always denied on client side

duelConfirm 

Asks the user if they would like to duel.

marriageConfirm 

Asks the user if they would like to be married.

Definition at line 3723 of file messages.h.


Constructor & Destructor Documentation

psQuestionMessage::psQuestionMessage ( int  clientnum,
uint32_t  questionID,
const char *  question,
questionType_t  type 
) [inline]

Definition at line 3735 of file messages.h.

psQuestionMessage::psQuestionMessage ( MsgEntry me) [inline]

Definition at line 3749 of file messages.h.


Member Function Documentation

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

Definition at line 3732 of file messages.h.

Definition at line 3731 of file messages.h.

Definition at line 3733 of file messages.h.


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