fix: Updates schema generator to 2.6.4 (#1452)
This commit is contained in:
parent
09fc30546b
commit
455b11de9c
5 changed files with 12 additions and 12 deletions
|
|
@ -3,7 +3,7 @@
|
|||
"isRoot": true,
|
||||
"tools": {
|
||||
"modernuoschemagenerator": {
|
||||
"version": "2.6.1",
|
||||
"version": "2.6.4",
|
||||
"commands": [
|
||||
"ModernUOSchemaGenerator"
|
||||
]
|
||||
|
|
|
|||
|
|
@ -26,11 +26,9 @@ public partial class MobileMod
|
|||
[SerializableField(0)]
|
||||
private string _name;
|
||||
|
||||
public MobileMod(Mobile owner) => Owner = owner;
|
||||
|
||||
public MobileMod(Mobile owner, string name)
|
||||
public MobileMod(Mobile owner, string name = null)
|
||||
{
|
||||
Owner = owner;
|
||||
Name = name;
|
||||
_name = name;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@
|
|||
<PackageReference Include="Zlib.Bindings" Version="1.11.0" />
|
||||
|
||||
<PackageReference Include="ModernUO.Serialization.Annotations" Version="2.6.0" />
|
||||
<PackageReference Include="ModernUO.Serialization.Generator" Version="2.6.2" />
|
||||
<PackageReference Include="ModernUO.Serialization.Generator" Version="2.6.4" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<AdditionalFiles Include="Migrations/*.v*.json" />
|
||||
|
|
|
|||
|
|
@ -403,11 +403,13 @@ public partial class RunebookEntry
|
|||
[SerializableFieldSaveFlag(3)]
|
||||
public bool ShouldSerializeDesc() => _house?.Deleted != false;
|
||||
|
||||
public RunebookEntry(Runebook runebook) : this(runebook, new Point3D(), null, null)
|
||||
{
|
||||
}
|
||||
|
||||
public RunebookEntry(Runebook runebook, Point3D loc, Map map, string description, BaseHouse house = null)
|
||||
public RunebookEntry(
|
||||
Runebook runebook,
|
||||
Point3D loc = new(),
|
||||
Map map = null,
|
||||
string description = null,
|
||||
BaseHouse house = null
|
||||
)
|
||||
{
|
||||
_runebook = runebook;
|
||||
_house = house;
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@
|
|||
<PackageReference Include="Zstd.Binaries" Version="1.6.0" />
|
||||
|
||||
<PackageReference Include="ModernUO.Serialization.Annotations" Version="2.6.0" />
|
||||
<PackageReference Include="ModernUO.Serialization.Generator" Version="2.6.2" />
|
||||
<PackageReference Include="ModernUO.Serialization.Generator" Version="2.6.4" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<AdditionalFiles Include="Migrations/*.v*.json" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue