Planeshift
psSketchMessage Class Reference

Class to send client directions on how to render a Sketch. More...

#include <messages.h>

Public Member Functions

 PSF_DECLARE_MSG_FACTORY ()
 
 psSketchMessage (uint32_t client, uint32_t itemID, uint8_t flags, const char *limitxml, const char *sketch_def, bool rightToEditFlag, const char *sketch_name, const char *backgroundImg)
 
 psSketchMessage (MsgEntry *me)
 
virtual csString ToString (NetBase::AccessPointers *accessPointers)
 Converts the message into human readable string. More...
 
- Public Member Functions inherited from psMessageCracker
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

csString backgroundImg
 
uint8_t Flags
 
uint32_t ItemID
 
csString limits
 
csString name
 
bool rightToEdit
 
csString Sketch
 
- Public Attributes inherited from psMessageCracker
int filterNumber
 
csRef< MsgEntrymsg
 
bool valid
 

Additional Inherited Members

- Static Public Attributes inherited from psMessageCracker
static MsgHandlermsghandler
 

Detailed Description

Class to send client directions on how to render a Sketch.

Definition at line 5421 of file messages.h.

Constructor & Destructor Documentation

psSketchMessage::psSketchMessage ( uint32_t  client,
uint32_t  itemID,
uint8_t  flags,
const char *  limitxml,
const char *  sketch_def,
bool  rightToEditFlag,
const char *  sketch_name,
const char *  backgroundImg 
)
inline

Definition at line 5424 of file messages.h.

psSketchMessage::psSketchMessage ( MsgEntry me)
inline

Definition at line 5439 of file messages.h.

Member Function Documentation

psSketchMessage::PSF_DECLARE_MSG_FACTORY ( )
virtual csString psSketchMessage::ToString ( NetBase::AccessPointers accessPointers)
inlinevirtual

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.

Definition at line 5458 of file messages.h.

Member Data Documentation

csString psSketchMessage::backgroundImg

Definition at line 5470 of file messages.h.

uint8_t psSketchMessage::Flags

Definition at line 5465 of file messages.h.

uint32_t psSketchMessage::ItemID

Definition at line 5464 of file messages.h.

csString psSketchMessage::limits

Definition at line 5467 of file messages.h.

csString psSketchMessage::name

Definition at line 5469 of file messages.h.

bool psSketchMessage::rightToEdit

Definition at line 5468 of file messages.h.

csString psSketchMessage::Sketch

Definition at line 5466 of file messages.h.


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