Esempio n. 1
0
        public void BuildingRepair(buildingURL url, int buildingID)
        {
            string         bURL   = "/" + url.ToString();
            int            id     = 603;
            string         method = "repair";
            JsonTextWriter r      = Request(id, method, buildingID.ToString());

            Post(bURL, r);
        }
Esempio n. 2
0
        public void BuildingDowngrade(buildingURL url, int buildingID)
        {
            string         bURL   = "/" + url.ToString();
            int            id     = 605;
            string         method = "downgrade";
            JsonTextWriter r      = Request(id, method, buildingID.ToString());

            Post(bURL, r);
        }
Esempio n. 3
0
        public void BuildingGetStatsForLevel(buildingURL url, int buildingID, int level)
        {
            string         bURL   = "/" + url.ToString();
            int            id     = 606;
            string         method = "get_stats_for_level";
            JsonTextWriter r      = Request(id, method, buildingID.ToString(), level.ToString());

            Post(bURL, r);
        }
Esempio n. 4
0
        public void BuildingBuild(buildingURL url, int bodyID, int x, int y)
        {
            string         bURL   = "/" + url.ToString();
            int            id     = 601;
            string         method = "build";
            JsonTextWriter r      = Request(id, method, bodyID.ToString(), x.ToString(), y.ToString());

            Post(bURL, r);
        }
Esempio n. 5
0
        public void BuildingDemolish(buildingURL url, int buildingID)
        {
            string         bURL   = "/" + url.ToString();
            int            id     = 604;
            string         method = "demolish";
            JsonTextWriter r      = Request(id, method, buildingID.ToString());

            Post(bURL, r);
        }
Esempio n. 6
0
 public void BuildingView(buildingURL url, int buildingID)
 {
     string bURL = "/" + url.ToString();
     int id = 602;
     string method = "view";
     JsonTextWriter r = Request(id, method, buildingID.ToString());
     Post(bURL, r);
 }
Esempio n. 7
0
 public void BuildingGetStatsForLevel(buildingURL url, int buildingID, int level)
 {
     string bURL = "/" + url.ToString();
     int id = 606;
     string method = "get_stats_for_level";
     JsonTextWriter r = Request(id, method, buildingID.ToString(), level.ToString());
     Post(bURL, r);
 }
Esempio n. 8
0
 public void BuildingDowngrade(buildingURL url, int buildingID)
 {
     string bURL = "/" + url.ToString();
     int id = 605;
     string method = "downgrade";
     JsonTextWriter r = Request(id, method, buildingID.ToString());
     Post(bURL, r);
 }
Esempio n. 9
0
 public void BuildingDemolish(buildingURL url, int buildingID)
 {
     string bURL = "/" + url.ToString();
     int id = 604;
     string method = "demolish";
     JsonTextWriter r = Request(id, method, buildingID.ToString());
     Post(bURL, r);
 }
Esempio n. 10
0
 public void BuildingBuild( buildingURL url, int bodyID, int x, int y)
 {
     string bURL = "/"+url.ToString();
     int id = 601;
     string method = "build";
     JsonTextWriter r = Request(id, method, bodyID.ToString(), x.ToString(), y.ToString());
     Post(bURL, r);
 }