Update to work with 12.12.30

This commit is contained in:
Chomp 2022-07-21 22:08:33 +01:00
parent 5694a27be7
commit 9c40f1ae96
8 changed files with 325154 additions and 248822 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup> <PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework> <TargetFramework>net6.0</TargetFramework>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>

View File

@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup> <PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework> <TargetFramework>net6.0</TargetFramework>
</PropertyGroup> </PropertyGroup>
</Project> </Project>

View File

@ -34,7 +34,7 @@ namespace AssortGenerator.Models.Input
public class RewardStatus public class RewardStatus
{ {
public string value { get; set; } public object value { get; set; }
public string id { get; set; } public string id { get; set; }
public string type { get; set; } public string type { get; set; }
public int index { get; set; } public int index { get; set; }

View File

@ -22,7 +22,7 @@ namespace AssortGenerator.Models.Output
{ {
public bool UnlimitedCount { get; set; } public bool UnlimitedCount { get; set; }
public int StackObjectsCount { get; set; } public int StackObjectsCount { get; set; }
public int? BuyRestrictionMax { get; set; } public object BuyRestrictionMax { get; set; }
public int? BuyRestrictionCurrent { get; set; } public int? BuyRestrictionCurrent { get; set; }
} }

View File

@ -19,7 +19,7 @@ namespace AssortGenerator.Models.Output
public int balance_dol { get; set; } public int balance_dol { get; set; }
public int balance_eur { get; set; } public int balance_eur { get; set; }
public bool unlockedByDefault { get; set; } public bool unlockedByDefault { get; set; }
public int discount { get; set; } public string discount { get; set; }
public int discount_end { get; set; } public int discount_end { get; set; }
public bool buyer_up { get; set; } public bool buyer_up { get; set; }
public string currency { get; set; } public string currency { get; set; }
@ -47,9 +47,9 @@ namespace AssortGenerator.Models.Output
{ {
public bool availability { get; set; } public bool availability { get; set; }
public int min_payment { get; set; } public int min_payment { get; set; }
public int min_return_hour { get; set; } public object min_return_hour { get; set; }
public int max_return_hour { get; set; } public object max_return_hour { get; set; }
public int max_storage_time { get; set; } public object max_storage_time { get; set; }
public List<object> excluded_category { get; set; } public List<object> excluded_category { get; set; }
} }
@ -58,7 +58,7 @@ namespace AssortGenerator.Models.Output
public object minLevel { get; set; } public object minLevel { get; set; }
public object minSalesSum { get; set; } public object minSalesSum { get; set; }
public object minStanding { get; set; } public object minStanding { get; set; }
public int buy_price_coef { get; set; } public object buy_price_coef { get; set; }
public object repair_price_coef { get; set; } public object repair_price_coef { get; set; }
public object insurance_price_coef { get; set; } public object insurance_price_coef { get; set; }
public int exchange_price_coef { get; set; } public int exchange_price_coef { get; set; }

View File

@ -2,7 +2,7 @@
<PropertyGroup> <PropertyGroup>
<OutputType>Exe</OutputType> <OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework> <TargetFramework>net6.0</TargetFramework>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>

View File

@ -96,7 +96,7 @@ namespace AssortGenerator
barter_scheme = barterSchemeItems, barter_scheme = barterSchemeItems,
loyal_level_items = loyaltyLevelItems loyal_level_items = loyaltyLevelItems
}; };
JsonWriter.WriteJson(outputAssortFile, traderFolderPath, workingPath, "assorts"); JsonWriter.WriteJson(outputAssortFile, traderFolderPath, workingPath, "assort");
// create base file, serialise into json and save into output folder // create base file, serialise into json and save into output folder
var outputBaseFile = traderData.data.Find(x => x._id == trader.Value); var outputBaseFile = traderData.data.Find(x => x._id == trader.Value);