Example #1
0
 public void moduleUpgrade(moduleURL url, int buildingID)
 {
     string bURL = "/" + url.ToString();
     int id = 625;
     string method = "upgrade";
     JsonTextWriter r = Request(id, method, buildingID.ToString());
     Post(bURL, r);
 }
Example #2
0
 public void moduleRepair(moduleURL url, int buildingID)
 {
     string bURL = "/" + url.ToString();
     int id = 622;
     string method = "repair";
     JsonTextWriter r = Request(id, method, buildingID.ToString());
     Post(bURL, r);
 }
Example #3
0
 public void moduleDemolish(moduleURL url, int buildingID)
 {
     string bURL = "/" + url.ToString();
     int id = 624;
     string method = "demolish";
     JsonTextWriter r = Request(id, method, buildingID.ToString());
     Post(bURL, r);
 }
Example #4
0
 //build, repair, upgrade, downgrade, demolish
 public void moduleBuild(moduleURL url, int bodyID, int x, int y)
 {
     string bURL = "/" + url.ToString();
     int id = 621;
     string method = "build";
     JsonTextWriter r = Request(id, method, bodyID.ToString(), x.ToString(), y.ToString());
     Post(bURL, r);
 }
Example #5
0
        public void moduleUpgrade(moduleURL url, int buildingID)
        {
            string         bURL   = "/" + url.ToString();
            int            id     = 625;
            string         method = "upgrade";
            JsonTextWriter r      = Request(id, method, buildingID.ToString());

            Post(bURL, r);
        }
Example #6
0
        public void moduleDemolish(moduleURL url, int buildingID)
        {
            string         bURL   = "/" + url.ToString();
            int            id     = 624;
            string         method = "demolish";
            JsonTextWriter r      = Request(id, method, buildingID.ToString());

            Post(bURL, r);
        }
Example #7
0
        public void moduleRepair(moduleURL url, int buildingID)
        {
            string         bURL   = "/" + url.ToString();
            int            id     = 622;
            string         method = "repair";
            JsonTextWriter r      = Request(id, method, buildingID.ToString());

            Post(bURL, r);
        }
Example #8
0
        //build, repair, upgrade, downgrade, demolish
        public void moduleBuild(moduleURL url, int bodyID, int x, int y)
        {
            string         bURL   = "/" + url.ToString();
            int            id     = 621;
            string         method = "build";
            JsonTextWriter r      = Request(id, method, bodyID.ToString(), x.ToString(), y.ToString());

            Post(bURL, r);
        }