Beispiel #1
0
    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");
    }
Beispiel #2
0
 public static void HandleRequest(TopographyRequest curr)
 {
     if (CheckAndResetRequestPossibility())
     {
         string toSend = JsonUtility.ToJson(curr);
         AsynchronousClient.Send(AsynchronousClient.client, toSend);
     }
 }