battlecore::net
The net module reports network connection state and sends messages to peers. Include its declarations with include "./battlecore/net.bst";.
getIsConnected
Returns whether the device is connected to the network.
native bool battlecore::net.getIsConnected ();send
Sends a payload to a target device, identified by its MAC address, under a network command id.
native void battlecore::net.send (int[] targetMacAddress, int networkCommandId, any payload);