RemoteCommandEvent
Private Attributes
Private Static Attributes
char
mBuf [1024]
Public Functions
RemoteCommandEvent(S32 argc, const char ** argv, NetConnection * conn)
pack(NetConnection * conn, BitStream * bstream)
process(NetConnection * conn)
unpack(NetConnection * conn, BitStream * bstream)
write(NetConnection * conn, BitStream * bstream)
Public Static Functions
const char *
addTaggedString(const char * str)
const char *
getTaggedString(const char * tag)
sendRemoteCommand(NetConnection * conn, S32 argc, const char ** argv)
Detailed Description
Public Types
@40
Enumerator
- MaxRemoteCommandArgs = 20
- CommandArgsBits = 5
typedef NetEvent Parent
Private Attributes
S32 mArgc
char * mArgv [MaxRemoteCommandArgs+1]
NetStringHandle mTagv [MaxRemoteCommandArgs+1]
Private Static Attributes
char mBuf [1024]
Public Functions
RemoteCommandEvent(S32 argc, const char ** argv, NetConnection * conn)
~RemoteCommandEvent()
DECLARE_CONOBJECT(RemoteCommandEvent )
pack(NetConnection * conn, BitStream * bstream)
Reimplemented from: NetEvent
process(NetConnection * conn)
Reimplemented from: NetEvent
unpack(NetConnection * conn, BitStream * bstream)
Reimplemented from: NetEvent
write(NetConnection * conn, BitStream * bstream)
Reimplemented from: NetEvent
Public Static Functions
addTaggedString(const char * str)
getTaggedString(const char * tag)
removeTaggedString(S32 )
sendRemoteCommand(NetConnection * conn, S32 argc, const char ** argv)