V2Transport::SetMessageToSend

Set the next message to send, returning whether it was accepted.

Synopsis

Declared in <net.h>

[[requires_capability(0x7f950efa7db8), requires_capability(0x7f950eb88fd8), requires_capability(0x7f950ae3a6e8), requires_capability(0x7f9502e7d5e8), requires_capability(0x7f952353c168), requires_capability(0x7f94f8652738), requires_capability(0x7f9522f6aad8), requires_capability(0x7f950ef0b148), requires_capability(0x7f951f0c05f8), requires_capability(0x7f9508067588), requires_capability(0x7f952271a2e8)]]
virtual
bool
SetMessageToSend(CSerializedNetMsg& msg) noexcept override;

Return Value

true if the message was accepted, false if none could be set right now.

Parameters

NameDescription
msgthe message to enqueue; may be moved-from on success.