code/__DEFINES/packetnet.dm 
| NETWORK_FLAG_GEN_ID | Automatically generate a /obj/machinery/var/net_id on initialize. |
|---|---|
| NETWORK_FLAG_USE_DATATERMINAL | Automatically connect to a data terminal at lateinit. Not having this flag and attempting to interact with data_terminals via [/obj/machinery/proc/link_to_jack()] is illegal and will explicitly crash. |
| NETWORK_FLAG_POWERNET_DATANODE | Add the machine to [/datum/powernet/var/list/data_nodes] You should have a VERY good reason for this to be set on anything not of type /obj/machinery/power |
| NETWORK_FLAG_JOIN_FREQUENCY | When set_frequency is called, run add_object() to add the machine as a listener. |
| NETWORK_FLAG_NEED_NOT_DEST | Has behavior for data not sent to its net_id. |
| NETWORK_FLAGS_STANDARD_CONNECTION | Standard set of network flags, for use by most network-connected equipment. |
| PKT_HEAD_VERSION | The version of the packet. |
| PKT_HEAD_SOURCE_ADDRESS | Source (sender) address of a packet |
| PKT_HEAD_DEST_ADDRESS | Destination (receiver) address of a packet |
| PKT_HEAD_NETCLASS | Network Class of a device, used as part of ping replies. |
| PKT_PROTOCOL_VEIP | The generic protocol that isn't really a protocol. |
| PKT_ARG_CMD | Command (type) of a packet |
| PACKET_ARG_PAGER_CLASS | Packet arg for pager types |
| PACKET_ARG_PAGER_MESSAGE | Packet arg for the message sent |
| PKT_ARG_CALL_REASON | Shuttle call reason |
| NET_COMMAND_RECALL_SHUTTLE | Recall the shuttle |
| NETJACK_CONNECT_SUCCESS | Successfully connected. |
| NETJACK_CONNECT_CONFLICT | Connection rejected, Already connected to a machine |
| NETJACK_CONNECT_NOTSAMETURF | Connection rejected, Not sharing a turf (???) |
| NETJACK_CONNECT_NOT_FOUND | Data Terminal not found. |
| RECEIVE_SIGNAL_FINISHED | Packet fully handled by parent |
| RECEIVE_SIGNAL_CONTINUE | Packet needs additional handling |
| MAGIC_DATA_TRANSIENT | Packet contains volatile data where storing it may cause GC issues. This means references to atoms, non-trivial datums like virtualspeakers, etc. |
| MAGIC_DATA_MUST_OBFUSCATE | Packet contains data that players should never be able to see DIRECTLY. Re-Interpretation is allowed, This is specifically for arbitrary packet capture applications where raw fields are accessible. For example, voice signal packets, or stuff that wouldn't make sense to be parsable as raw text. |
| MAGIC_DATA_INVIOLABLE | All protection flags at once. |
| PACKET_IS_FOR_US | Helper for boilerplate, checks if a packet was bound for the given atom. |
Define Details
MAGIC_DATA_INVIOLABLE 
All protection flags at once.
MAGIC_DATA_MUST_OBFUSCATE 
Packet contains data that players should never be able to see DIRECTLY. Re-Interpretation is allowed, This is specifically for arbitrary packet capture applications where raw fields are accessible. For example, voice signal packets, or stuff that wouldn't make sense to be parsable as raw text.
MAGIC_DATA_TRANSIENT 
Packet contains volatile data where storing it may cause GC issues. This means references to atoms, non-trivial datums like virtualspeakers, etc.
NETJACK_CONNECT_CONFLICT 
Connection rejected, Already connected to a machine
NETJACK_CONNECT_NOTSAMETURF 
Connection rejected, Not sharing a turf (???)
NETJACK_CONNECT_NOT_FOUND 
Data Terminal not found.
NETJACK_CONNECT_SUCCESS 
Successfully connected.
NETWORK_FLAGS_STANDARD_CONNECTION 
Standard set of network flags, for use by most network-connected equipment.
NETWORK_FLAG_GEN_ID 
Automatically generate a /obj/machinery/var/net_id on initialize.
NETWORK_FLAG_JOIN_FREQUENCY 
When set_frequency is called, run add_object() to add the machine as a listener.
NETWORK_FLAG_NEED_NOT_DEST 
Has behavior for data not sent to its net_id.
NETWORK_FLAG_POWERNET_DATANODE 
Add the machine to [/datum/powernet/var/list/data_nodes] You should have a VERY good reason for this to be set on anything not of type /obj/machinery/power
NETWORK_FLAG_USE_DATATERMINAL 
Automatically connect to a data terminal at lateinit. Not having this flag and attempting to interact with data_terminals via [/obj/machinery/proc/link_to_jack()] is illegal and will explicitly crash.
NET_COMMAND_RECALL_SHUTTLE 
Recall the shuttle
PACKET_ARG_PAGER_CLASS 
Packet arg for pager types
PACKET_ARG_PAGER_MESSAGE 
Packet arg for the message sent
PACKET_IS_FOR_US 
Helper for boilerplate, checks if a packet was bound for the given atom.
PKT_ARG_CALL_REASON 
Shuttle call reason
PKT_ARG_CMD 
Command (type) of a packet
PKT_HEAD_DEST_ADDRESS 
Destination (receiver) address of a packet
PKT_HEAD_NETCLASS 
Network Class of a device, used as part of ping replies.
PKT_HEAD_SOURCE_ADDRESS 
Source (sender) address of a packet
PKT_HEAD_VERSION 
The version of the packet.
PKT_PROTOCOL_VEIP 
The generic protocol that isn't really a protocol.
RECEIVE_SIGNAL_CONTINUE 
Packet needs additional handling
RECEIVE_SIGNAL_FINISHED 
Packet fully handled by parent