示例#1
0
 public string GetConfigsByVehicle(int id)
 {
     ACESVehicleOptions configs = new ACESVehicleOptions();
     configs = new ACES().getVehicleConfigs(id);
     return JsonConvert.SerializeObject(configs);
 }
示例#2
0
 public string GetConfigs(int BaseVehicleID, int SubmodelID)
 {
     ACESVehicleOptions configs = new ACESVehicleOptions();
     configs = new ACES().getVehicleConfigs(BaseVehicleID, SubmodelID);
     return JsonConvert.SerializeObject(configs);
 }