Planeshift
Public Member Functions

psNPCAuthenticationMessage Class Reference

The message sent from superclient to server on login. More...

#include <npcmessages.h>

List of all members.

Public Member Functions

bool NetVersionOk ()
 PSF_DECLARE_MSG_FACTORY ()
 psNPCAuthenticationMessage (uint32_t clientnum, const char *userid, const char *password)
 This function creates a PS Message struct given a userid and password to send out.
 psNPCAuthenticationMessage (MsgEntry *message)
 This constructor receives a PS Message struct and cracks it apart to provide more easily usable fields.

Detailed Description

The message sent from superclient to server on login.

Definition at line 46 of file npcmessages.h.


Constructor & Destructor Documentation

psNPCAuthenticationMessage::psNPCAuthenticationMessage ( uint32_t  clientnum,
const char *  userid,
const char *  password 
)

This function creates a PS Message struct given a userid and password to send out.

This would be used for outgoing, new message creation when a superclient wants to log in.

psNPCAuthenticationMessage::psNPCAuthenticationMessage ( MsgEntry message)

This constructor receives a PS Message struct and cracks it apart to provide more easily usable fields.

It is intended for use on incoming messages.


Member Function Documentation

bool psNPCAuthenticationMessage::NetVersionOk ( )

Reimplemented from psAuthenticationMessage.

psNPCAuthenticationMessage::PSF_DECLARE_MSG_FACTORY ( )

Reimplemented from psAuthenticationMessage.


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