Build a serialized network message of the given type from its payload.

Synopsis

Declared in <netmessagemaker.h>

template<typename... Args>
CSerializedNetMsg
Make(
    std::string msg_type,
    Args&&... args);

Return Value

The serialized network message ready to be sent.

Parameters

Name

Description

msg_type

The network message type string (command name).

args

The message payload fields, serialized in order into the message body.

Created with MrDocs