V2Transport::SetMessageToSend

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

Synopsis

Declared in <net.h>

[[requires_capability(0x7fd74ad60728), requires_capability(0x7fd74b1477c8), requires_capability(0x7fd756e97978), requires_capability(0x7fd74ee53288), requires_capability(0x7fd752734f88), requires_capability(0x7fd759e0e528), requires_capability(0x7fd7530faa88), requires_capability(0x7fd7630b97e8), requires_capability(0x7fd756b6e058), requires_capability(0x7fd75a662778), requires_capability(0x7fd73a00f5a8)]]
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.