Skip to content

Commit

Permalink
fix: Adds missing migration files. (#1642)
Browse files Browse the repository at this point in the history
### Summary

- Bumps serialization generator. v2.10.9 fixes an issue with nuget publishing where files were missing.
- Fixes camps missing serialization of their prisoner.
- Adds missing serialization migration files.
  • Loading branch information
kamronbatman authored Dec 20, 2023
1 parent 7d9bc9f commit 61e9dd2
Show file tree
Hide file tree
Showing 19 changed files with 294 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .config/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"isRoot": true,
"tools": {
"modernuoschemagenerator": {
"version": "2.10.8",
"version": "2.10.9",
"commands": [
"ModernUOSchemaGenerator"
]
Expand Down
42 changes: 42 additions & 0 deletions Projects/Server/Migrations/Server.Items.Container.v0.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Projects/Server/Server.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<PackageReference Include="Zlib.Bindings" Version="1.11.0" />

<PackageReference Include="ModernUO.Serialization.Annotations" Version="2.9.1" />
<PackageReference Include="ModernUO.Serialization.Generator" Version="2.10.8" />
<PackageReference Include="ModernUO.Serialization.Generator" Version="2.10.9" />
</ItemGroup>
<ItemGroup>
<AdditionalFiles Include="Migrations/*.v*.json" />
Expand Down
11 changes: 11 additions & 0 deletions Projects/UOContent/Migrations/Server.Items.Hold.v0.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 32 additions & 0 deletions Projects/UOContent/Migrations/Server.Items.Plank.v1.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions Projects/UOContent/Migrations/Server.Items.TillerMan.v0.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

73 changes: 73 additions & 0 deletions Projects/UOContent/Migrations/Server.Multis.BaseBoat.v4.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 22 additions & 0 deletions Projects/UOContent/Migrations/Server.Multis.BaseBoatDeed.v0.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

34 changes: 34 additions & 0 deletions Projects/UOContent/Migrations/Server.Multis.BaseCamp.v1.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 30 additions & 0 deletions Projects/UOContent/Migrations/Server.Multis.BaseDockedBoat.v0.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 8 additions & 1 deletion Projects/UOContent/Migrations/Server.Multis.OrcCamp.v0.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 8 additions & 1 deletion Projects/UOContent/Migrations/Server.Multis.RatCamp.v0.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Projects/UOContent/Multis/Camps/BrigandCamp.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ namespace Server.Multis;
[SerializationGenerator(0, false)]
public partial class BrigandCamp : BaseCamp
{
[SerializableField(0)]
private Mobile _prisoner;

[Constructible]
Expand Down
1 change: 1 addition & 0 deletions Projects/UOContent/Multis/Camps/LizardmenCamp.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ namespace Server.Multis;
[SerializationGenerator(0, false)]
public partial class LizardmenCamp : BaseCamp
{
[SerializableField(0)]
private Mobile _prisoner;

[Constructible]
Expand Down
1 change: 1 addition & 0 deletions Projects/UOContent/Multis/Camps/OrcCamp.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ namespace Server.Multis;
[SerializationGenerator(0, false)]
public partial class OrcCamp : BaseCamp
{
[SerializableField(0)]
private Mobile _prisoner;

[Constructible]
Expand Down
1 change: 1 addition & 0 deletions Projects/UOContent/Multis/Camps/RatCamp.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ namespace Server.Multis;
[SerializationGenerator(0, false)]
public partial class RatCamp : BaseCamp
{
[SerializableField(0)]
private Mobile _prisoner;

[Constructible]
Expand Down
2 changes: 1 addition & 1 deletion Projects/UOContent/UOContent.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<PackageReference Include="Zstd.Binaries" Version="1.6.0" />

<PackageReference Include="ModernUO.Serialization.Annotations" Version="2.9.1" />
<PackageReference Include="ModernUO.Serialization.Generator" Version="2.10.8" />
<PackageReference Include="ModernUO.Serialization.Generator" Version="2.10.9" />
</ItemGroup>
<ItemGroup>
<AdditionalFiles Include="Migrations/*.v*.json" />
Expand Down

0 comments on commit 61e9dd2

Please sign in to comment.