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); }
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); }
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); }
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); }
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); }
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); }
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); }