Planeshift
Public Types | Public Member Functions | Public Attributes

psGUIActiveMagicMessage Class Reference

GUI Active Magic Message. More...

#include <messages.h>

List of all members.

Public Types

enum  commandType { Add, Remove, List }

Public Member Functions

 PSF_DECLARE_MSG_FACTORY ()
 psGUIActiveMagicMessage (MsgEntry *message)
 Crack this message off the network.
 psGUIActiveMagicMessage (uint32_t clientNum, csArray< ActiveSpell * > &spells, uint32_t index, csTicks serverTime)
virtual csString ToString (NetBase::AccessPointers *accessPointers)
 Converts the message into human readable string.

Public Attributes

commandType command
csArray< uint32 > duration
csArray< csString > image
uint32_t index
csArray< csString > name
csArray< uint32 > registrationTime
uint32 serverTime
csArray< SPELL_TYPEtype

Detailed Description

GUI Active Magic Message.

This message is used to manage the active spells window. The client psActiveSpellWindow and server psProgressionManager will deal with this message.

Definition at line 3816 of file messages.h.


Member Enumeration Documentation

Enumerator:
Add 
Remove 
List 

Definition at line 3820 of file messages.h.


Constructor & Destructor Documentation

psGUIActiveMagicMessage::psGUIActiveMagicMessage ( uint32_t  clientNum,
csArray< ActiveSpell * > &  spells,
uint32_t  index,
csTicks  serverTime 
) [inline]

Definition at line 3822 of file messages.h.

psGUIActiveMagicMessage::psGUIActiveMagicMessage ( MsgEntry message) [inline]

Crack this message off the network.

Definition at line 3858 of file messages.h.


Member Function Documentation

psGUIActiveMagicMessage::PSF_DECLARE_MSG_FACTORY ( )
virtual csString psGUIActiveMagicMessage::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 3898 of file messages.h.

Definition at line 3900 of file messages.h.

Definition at line 3904 of file messages.h.

Definition at line 3897 of file messages.h.

Definition at line 3903 of file messages.h.

Definition at line 3901 of file messages.h.

Definition at line 3902 of file messages.h.

Definition at line 3899 of file messages.h.


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