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,
|
"isRoot": true,
|
||||||
"tools": {
|
"tools": {
|
||||||
"modernuoschemagenerator": {
|
"modernuoschemagenerator": {
|
||||||
"version": "2.6.1",
|
"version": "2.6.4",
|
||||||
"commands": [
|
"commands": [
|
||||||
"ModernUOSchemaGenerator"
|
"ModernUOSchemaGenerator"
|
||||||
]
|
]
|
||||||
|
|
|
||||||
|
|
@ -26,11 +26,9 @@ public partial class MobileMod
|
||||||
[SerializableField(0)]
|
[SerializableField(0)]
|
||||||
private string _name;
|
private string _name;
|
||||||
|
|
||||||
public MobileMod(Mobile owner) => Owner = owner;
|
public MobileMod(Mobile owner, string name = null)
|
||||||
|
|
||||||
public MobileMod(Mobile owner, string name)
|
|
||||||
{
|
{
|
||||||
Owner = owner;
|
Owner = owner;
|
||||||
Name = name;
|
_name = name;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,7 @@
|
||||||
<PackageReference Include="Zlib.Bindings" Version="1.11.0" />
|
<PackageReference Include="Zlib.Bindings" Version="1.11.0" />
|
||||||
|
|
||||||
<PackageReference Include="ModernUO.Serialization.Annotations" Version="2.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>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<AdditionalFiles Include="Migrations/*.v*.json" />
|
<AdditionalFiles Include="Migrations/*.v*.json" />
|
||||||
|
|
|
||||||
|
|
@ -403,11 +403,13 @@ public partial class RunebookEntry
|
||||||
[SerializableFieldSaveFlag(3)]
|
[SerializableFieldSaveFlag(3)]
|
||||||
public bool ShouldSerializeDesc() => _house?.Deleted != false;
|
public bool ShouldSerializeDesc() => _house?.Deleted != false;
|
||||||
|
|
||||||
public RunebookEntry(Runebook runebook) : this(runebook, new Point3D(), null, null)
|
public RunebookEntry(
|
||||||
{
|
Runebook runebook,
|
||||||
}
|
Point3D loc = new(),
|
||||||
|
Map map = null,
|
||||||
public RunebookEntry(Runebook runebook, Point3D loc, Map map, string description, BaseHouse house = null)
|
string description = null,
|
||||||
|
BaseHouse house = null
|
||||||
|
)
|
||||||
{
|
{
|
||||||
_runebook = runebook;
|
_runebook = runebook;
|
||||||
_house = house;
|
_house = house;
|
||||||
|
|
|
||||||
|
|
@ -39,7 +39,7 @@
|
||||||
<PackageReference Include="Zstd.Binaries" Version="1.6.0" />
|
<PackageReference Include="Zstd.Binaries" Version="1.6.0" />
|
||||||
|
|
||||||
<PackageReference Include="ModernUO.Serialization.Annotations" Version="2.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>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<AdditionalFiles Include="Migrations/*.v*.json" />
|
<AdditionalFiles Include="Migrations/*.v*.json" />
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue