Planeshift
|
Messages from the server to the client, similar to combat events below, but for special attacks. More...
#include <messages.h>
Public Member Functions | |
PSF_DECLARE_MSG_FACTORY () | |
psSpecialCombatEventMessage (uint32_t clientnum, EID attacker, EID target, int attack_anim, int defense_anim) | |
Create psMessageBytes struct for outbound use. | |
psSpecialCombatEventMessage (MsgEntry *message) | |
Crack incoming psMessageBytes struct for inbound use. | |
void | SetClientNum (int cnum) |
virtual csString | ToString (NetBase::AccessPointers *accessPointers) |
Converts the message into human readable string. | |
Public Attributes | |
int | attack_anim |
EID | attacker_id |
int | defense_anim |
EID | target_id |
Messages from the server to the client, similar to combat events below, but for special attacks.
Definition at line 2665 of file messages.h.
psSpecialCombatEventMessage::psSpecialCombatEventMessage | ( | uint32_t | clientnum, |
EID | attacker, | ||
EID | target, | ||
int | attack_anim, | ||
int | defense_anim | ||
) |
Create psMessageBytes struct for outbound use.
psSpecialCombatEventMessage::psSpecialCombatEventMessage | ( | MsgEntry * | message | ) |
Crack incoming psMessageBytes struct for inbound use.
psSpecialCombatEventMessage::PSF_DECLARE_MSG_FACTORY | ( | ) |
void psSpecialCombatEventMessage::SetClientNum | ( | int | cnum | ) |
virtual csString psSpecialCombatEventMessage::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 2670 of file messages.h.
Definition at line 2668 of file messages.h.
Definition at line 2671 of file messages.h.
Definition at line 2669 of file messages.h.