Planeshift
Public Types | Public Member Functions | Public Attributes

psPetSkillMessage Class Reference

Pet Skill Message. More...

#include <messages.h>

List of all members.

Public Types

enum  Command {
  REQUEST, BUY_SKILL, SKILL_LIST, SKILL_SELECTED,
  DESCRIPTION, QUIT
}

Public Member Functions

 PSF_DECLARE_MSG_FACTORY ()
 psPetSkillMessage (uint8_t command, csString commandData)
 Constucts a new equipment message to go on the network.
 psPetSkillMessage (uint32_t clientNum, uint8_t command, csString commandData, uint32_t str, uint32_t end, uint32_t agi, uint32_t inl, uint32_t wil, uint32_t chr, uint32_t hp, uint32_t man, uint32_t physSta, uint32_t menSta, uint32_t hpMax, uint32_t manMax, uint32_t physStaMax, uint32_t menStaMax, bool open, int32_t focus)
 psPetSkillMessage (MsgEntry *message)
 Crack this message off the network.
virtual csString ToString (NetBase::AccessPointers *accessPointers)
 Converts the message into human readable string.

Public Attributes

unsigned int agility
unsigned int charisma
uint8_t command
csString commandData
unsigned int endurance
int32_t focusSkill
unsigned int hitpoints
unsigned int hitpointsMax
unsigned int intelligence
unsigned int mana
unsigned int manaMax
unsigned int menStamina
unsigned int menStaminaMax
bool openWindow
unsigned int physStamina
unsigned int physStaminaMax
unsigned int strength
unsigned int will

Detailed Description

Pet Skill Message.

This message is used to manage the Pet skill window. The client psPetStatWindow and server ??? will deal with this messages.

Definition at line 3041 of file messages.h.


Member Enumeration Documentation

Enumerator:
REQUEST 
BUY_SKILL 
SKILL_LIST 
SKILL_SELECTED 
DESCRIPTION 
QUIT 

Definition at line 3044 of file messages.h.


Constructor & Destructor Documentation

psPetSkillMessage::psPetSkillMessage ( uint8_t  command,
csString  commandData 
)

Constucts a new equipment message to go on the network.

This will build any of the GUI exchange message needed in a skill window.

Parameters:
commandOne of REQUEST,BUY_SKILL, SKILL_LIST SKILL_SELECTED, DESCRIPTION, QUIT
commandDataXML string with command data
psPetSkillMessage::psPetSkillMessage ( uint32_t  clientNum,
uint8_t  command,
csString  commandData,
uint32_t  str,
uint32_t  end,
uint32_t  agi,
uint32_t  inl,
uint32_t  wil,
uint32_t  chr,
uint32_t  hp,
uint32_t  man,
uint32_t  physSta,
uint32_t  menSta,
uint32_t  hpMax,
uint32_t  manMax,
uint32_t  physStaMax,
uint32_t  menStaMax,
bool  open,
int32_t  focus 
)
psPetSkillMessage::psPetSkillMessage ( MsgEntry message)

Crack this message off the network.


Member Function Documentation

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

Definition at line 3107 of file messages.h.

Definition at line 3099 of file messages.h.

Definition at line 3100 of file messages.h.

Definition at line 3103 of file messages.h.

Definition at line 3118 of file messages.h.

Definition at line 3108 of file messages.h.

Definition at line 3113 of file messages.h.

Definition at line 3105 of file messages.h.

Definition at line 3109 of file messages.h.

Definition at line 3114 of file messages.h.

Definition at line 3111 of file messages.h.

Definition at line 3116 of file messages.h.

Definition at line 3117 of file messages.h.

Definition at line 3110 of file messages.h.

Definition at line 3115 of file messages.h.

Definition at line 3102 of file messages.h.

Definition at line 3106 of file messages.h.


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