SimpleNetObject Class Reference
[Networking]
A very simple example of a class derived from NetObject.
More...
List of all members.
Detailed Description
A very simple example of a class derived from NetObject.
This object exists purely for instructional purposes. It is primarily geared toward developers that wish to understand the inner-working of Torque 3D's networking system. This is not intended for actual game development.
- See also:
- NetObject for a full breakdown of this example object
Member Function Documentation
Send a SimpleNetObject message to the specified connection.
- Parameters:
-
| con | The unique ID of the connection to transmit to |
| message | The string containing the message to transmit |
void SimpleNetObject::setMessage |
( |
string |
msg |
) |
|
Sets the internal message variable.
- Parameters:
-
| msg | The new message to send |
- Returns:
- Value