Planeshift
|
#include <messages.h>
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 |
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.
Definition at line 3044 of file messages.h.
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.
command | One of REQUEST,BUY_SKILL, SKILL_LIST SKILL_SELECTED, DESCRIPTION, QUIT |
commandData | XML 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.
psPetSkillMessage::PSF_DECLARE_MSG_FACTORY | ( | ) |
virtual csString psPetSkillMessage::ToString | ( | NetBase::AccessPointers * | accessPointers | ) | [virtual] |
Converts the message into human readable string.
accessPointers | A struct to a number of access pointers. |
Implements psMessageCracker.
Definition at line 3104 of file messages.h.
Definition at line 3107 of file messages.h.
uint8_t psPetSkillMessage::command |
Definition at line 3099 of file messages.h.
csString psPetSkillMessage::commandData |
Definition at line 3100 of file messages.h.
Definition at line 3103 of file messages.h.
int32_t psPetSkillMessage::focusSkill |
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.