Planeshift
Public Member Functions | Public Attributes

psNPCWorkDoneMessage Class Reference

The message sent from server to superclient upon a successful work done. More...

#include <npcmessages.h>

List of all members.

Public Member Functions

 PSF_DECLARE_MSG_FACTORY ()
 psNPCWorkDoneMessage (MsgEntry *message)
 psNPCWorkDoneMessage (uint32_t clientToken, EID npcEID, const char *resource, const char *nick)
virtual csString ToString (NetBase::AccessPointers *accessPointers)
 Converts the message into human readable string.

Public Attributes

const char * nick
EID npcEID
const char * resource

Detailed Description

The message sent from server to superclient upon a successful work done.

Definition at line 343 of file npcmessages.h.


Constructor & Destructor Documentation

psNPCWorkDoneMessage::psNPCWorkDoneMessage ( uint32_t  clientToken,
EID  npcEID,
const char *  resource,
const char *  nick 
)
psNPCWorkDoneMessage::psNPCWorkDoneMessage ( MsgEntry message)

Member Function Documentation

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

Converts the message into human readable string.

Used when a message is Logged. Every message should implement a version of this function that print all data that was decoded when the message was initiated from a NetEntry. See psDRMessage::ToString for an example.

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 348 of file npcmessages.h.

Definition at line 346 of file npcmessages.h.

Definition at line 347 of file npcmessages.h.


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