public void QueryTopography() //Ask dispatcher what kind of topography it wants { TopographyRequest tr = new TopographyRequest(); NetworkInterface.HandleRequest(tr); Debug.Log("About to ask for topography"); }
public static void HandleRequest(TopographyRequest curr) { if (CheckAndResetRequestPossibility()) { string toSend = JsonUtility.ToJson(curr); AsynchronousClient.Send(AsynchronousClient.client, toSend); } }