[#NetMsg-Make]
= xref:NetMsg.adoc[NetMsg]::Make
:relfileprefix: ../
:mrdocs:

Build a serialized network message of the given type from its payload&period;

== Synopsis

Declared in `&lt;netmessagemaker&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;typename&period;&period;&period; Args&gt;
xref:CSerializedNetMsg.adoc[CSerializedNetMsg]
Make(
    std::string msg&lowbar;type,
    Args&&&period;&period;&period; args);
----

== Return Value

The serialized network message ready to be sent&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *msg&lowbar;type*
| The network message type string (command name)&period;
| *args*
| The message payload fields, serialized in order into the message body&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
