Planeshift
|
sends a message tot he client with the attack queue list More...
#include <messages.h>
Classes | |
struct | AAttack |
Public Member Functions | |
void | AddAttack (const csString &name, const csString &image) |
void | Construct (csStringSet *msgstrings) |
psAttackQueueMessage () | |
psAttackQueueMessage (uint32_t clientnum) | |
psAttackQueueMessage (MsgEntry *me, NetBase::AccessPointers *accessPointers) | |
PSF_DECLARE_MSG_FACTORY () | |
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 | |
csArray< AAttack > | attacks |
![]() | |
int | filterNumber |
csRef< MsgEntry > | msg |
bool | valid |
Additional Inherited Members | |
![]() | |
static MsgHandler * | msghandler |
sends a message tot he client with the attack queue list
Definition at line 1501 of file messages.h.
psAttackQueueMessage::psAttackQueueMessage | ( | ) |
psAttackQueueMessage::psAttackQueueMessage | ( | uint32_t | clientnum | ) |
psAttackQueueMessage::psAttackQueueMessage | ( | MsgEntry * | me, |
NetBase::AccessPointers * | accessPointers | ||
) |
void psAttackQueueMessage::AddAttack | ( | const csString & | name, |
const csString & | image | ||
) |
void psAttackQueueMessage::Construct | ( | csStringSet * | msgstrings | ) |
psAttackQueueMessage::PSF_DECLARE_MSG_FACTORY | ( | ) |
|
virtual |
Converts the message into human readable string.
Used when a message is Logged. Every message should implement a version of this function that print all data that was decoded when the message was initiated from a NetEntry. See psDRMessage::ToString for an example.
accessPointers | A struct to a number of access pointers. |
Implements psMessageCracker.
csArray<AAttack> psAttackQueueMessage::attacks |
Definition at line 1520 of file messages.h.