Torque3D Documentation / _generateds / RemoteCommandEvent

RemoteCommandEvent

Engine/source/app/net/net.h

More...

Public Types

enum
_Anonymous_ {
  MaxRemoteCommandArgs = 20
  CommandArgsBits = 5
}
Parent 

Private Attributes

char *
mArgv [MaxRemoteCommandArgs+1]
mTagv [MaxRemoteCommandArgs+1]

Private Static Attributes

char
mBuf [1024]

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)