private void sendCmd(int port, RemoteCmdType type, string data) { sendCmd(ConnectionPort, type, "all", data); }
private void sendCmd(int port, RemoteCmdType type, string dest, string data) { SendMsg(UnityEngine.JsonUtility.ToJson(new RemoteCmd(type, dest, data))); }
public void sendCmd(RemoteCmdType type, string dest, string data) { sendCmd(ConnectionPort, type, dest, data); }