Constructors
Declared in <net.h>
Deleted copy constructor; messages are move-only.
CNetMessage(CNetMessage const& other) = delete;
» more...
Move-construct a message.
constexpr
CNetMessage(CNetMessage&& other) = default;
» more...
Construct a message that takes ownership of the received data stream.
explicit
CNetMessage(DataStream&& recv_in);
» more...
| Name | Description |
|---|---|
| other | the message that would be copied from. |
| recv_in | the received data stream to take ownership of. |