Planeshift
Public Member Functions | Public Attributes

psSpecialCombatEventMessage Class Reference

Messages from the server to the client, similar to combat events below, but for special attacks. More...

#include <messages.h>

List of all members.

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

Detailed Description

Messages from the server to the client, similar to combat events below, but for special attacks.

Definition at line 2665 of file messages.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.

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 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.


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