This annotation is intended for complex cases and is primarily designed to be used by the built-in annotations.
Overview
net_send marks a function that ends a net message and sends it, like net.Send, net.Broadcast and net.SendToServer. GLuaLS uses it to match each message’s sender with its net.Receive, and to check that both sides read and write the same values.
The official annotations already mark the net library, and wrappers that call it are detected automatically.
Syntax
client for net.Send and net.Broadcast, server for net.SendToServer.
Mark the recipient parameter, if there is one, with @call_arg gmod.net_payload target.
Example
See also
@net_payload: a function that writes or reads a net message value