How To Send RUDP Custom Messages

If you implement custom commands on Diarkis server, you may invoke those commands by sending custom commands. For UDP servers, you may choose between UDP and RUDP. The example below shows the RUDP version.

 

// ver = command version

// cmd = command ID

// payload = message
udp.RSend(ver, cmd, payload);