Pyrogenesis  13997
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Static Public Member Functions | List of all members
CNetMessageFactory Class Reference

Creates messages from data received through the network. More...

#include <NetMessage.h>

Static Public Member Functions

static CNetMessageCreateMessage (const void *pData, size_t dataSize, ScriptInterface &scriptInterface)
 Factory method which creates a message object based on the given data. More...
 

Detailed Description

Creates messages from data received through the network.

Definition at line 94 of file NetMessage.h.

Member Function Documentation

CNetMessage * CNetMessageFactory::CreateMessage ( const void *  pData,
size_t  dataSize,
ScriptInterface scriptInterface 
)
static

Factory method which creates a message object based on the given data.

Parameters
pDataData buffer
dataSizeSize of data buffer
scriptInterfaceScript instance to use when constructing scripted messages
Returns
The new message created

Definition at line 94 of file NetMessage.cpp.


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