Syntax
Result = dbNetMessageType()
Description
This command returns the type of the current message in the queue. The type can be one of four values. If the type is 1, the message is an integer value. If the type is 2, the message is a float value. If the type is 3, the message is a string. If the type is a 4, then the message is a memblock. If the type is a 5, the message is an image. If the type is a 6, the message is a bitmap. If the type is a 7, the message is a sound. If the type is an 8, the message is a mesh. You must check the type of a message before you can read it correctly using one of the appropriate net message commands.
See Also
dbGetNetMessage, dbNetMessageBitmap, dbNetMessageExist, dbNetMessageFloat, dbNetMessageImage, dbNetMessageInteger, dbNetMessageMemblock, dbNetMessageMesh, dbNetMessagePlayerFrom, dbNetMessagePlayerTo, dbNetMessageString, dbNetMessageSound