Build a serialized network message of the given type from its payload.
Declared in <netmessagemaker.h>
template<typename... Args>
CSerializedNetMsg
Make(
std::string msg_type,
Args&&... args);
The serialized network message ready to be sent.
| Name | Description |
|---|---|
| msg_type | The network message type string (command name). |
| args | The message payload fields, serialized in order into the message body. |