Torque3D Documentation / _generateds / SimpleNetObject

SimpleNetObject

Engine/source/app/net/netExamples.cpp

More...

Private Types

Parent 

Public Attributes

char
message [256]

Public Functions

packUpdate(NetConnection * conn, U32 mask, BitStream * stream)

Instructs this object to pack its state for transfer over the network.

setMessage(const char * msg)

Instructs this object to read state data previously packed with packUpdate.

Detailed Description

Private Types

typedef NetObject Parent 

Public Attributes

char message [256]

Public Functions

SimpleNetObject()

DECLARE_CONOBJECT(SimpleNetObject )

packUpdate(NetConnection * conn, U32 mask, BitStream * stream)

Reimplemented from: NetObject

setMessage(const char * msg)

unpackUpdate(NetConnection * conn, BitStream * stream)

Reimplemented from: NetObject