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. More... | |
psSpecialCombatEventMessage (MsgEntry *message) | |
Crack incoming psMessageBytes struct for inbound use. More... | |
void | SetClientNum (int cnum) |
virtual csString | ToString (NetBase::AccessPointers *accessPointers) |
Converts the message into human readable string. More... | |
![]() | |
void | FireEvent () |
Publishes the message to the local program. More... | |
virtual csString | GetMessageTypeName () const =0 |
Gets the name of the message type. More... | |
void | Multicast (csArray< PublishDestination > &multi, uint32_t except, float range) |
Multicasts the message to all current connections. More... | |
psMessageCracker () | |
void | SendMessage () |
Sends the message to the client/server. More... | |
virtual | ~psMessageCracker () |
Public Attributes | |
int | attack_anim |
EID | attacker_id |
int | defense_anim |
EID | target_id |
![]() | |
int | filterNumber |
csRef< MsgEntry > | msg |
bool | valid |
Additional Inherited Members | |
![]() | |
static MsgHandler * | msghandler |
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 |
Converts the message into human readable string.
accessPointers | A struct to a number of access pointers. |
Implements psMessageCracker.
int psSpecialCombatEventMessage::attack_anim |
Definition at line 2670 of file messages.h.
EID psSpecialCombatEventMessage::attacker_id |
Definition at line 2668 of file messages.h.
int psSpecialCombatEventMessage::defense_anim |
Definition at line 2671 of file messages.h.
EID psSpecialCombatEventMessage::target_id |
Definition at line 2669 of file messages.h.