mirror of
https://github.com/tribufu/ServerManagers
synced 2026-06-01 09:42:39 +00:00
Added valid check to prevent writing record if dino not selected.
This commit is contained in:
parent
652442a30b
commit
e66b29f0f5
4 changed files with 39 additions and 7 deletions
|
|
@ -18,7 +18,6 @@ namespace ServerManagerTool.Lib
|
||||||
{
|
{
|
||||||
List<string> errors = new List<string>();
|
List<string> errors = new List<string>();
|
||||||
|
|
||||||
|
|
||||||
return errors.ToArray();
|
return errors.ToArray();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -72,5 +71,10 @@ namespace ServerManagerTool.Lib
|
||||||
public string DisplayName => GameData.FriendlyItemNameForClass(DinoClassString);
|
public string DisplayName => GameData.FriendlyItemNameForClass(DinoClassString);
|
||||||
|
|
||||||
public bool IsValid => !string.IsNullOrWhiteSpace(DinoClassString);
|
public bool IsValid => !string.IsNullOrWhiteSpace(DinoClassString);
|
||||||
|
|
||||||
|
public override bool ShouldSave()
|
||||||
|
{
|
||||||
|
return IsValid;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -131,6 +131,11 @@ namespace ServerManagerTool.Lib
|
||||||
public string DisplayName => GameData.FriendlyItemNameForClass(ItemClassString);
|
public string DisplayName => GameData.FriendlyItemNameForClass(ItemClassString);
|
||||||
|
|
||||||
public bool IsValid => !string.IsNullOrWhiteSpace(ItemClassString);
|
public bool IsValid => !string.IsNullOrWhiteSpace(ItemClassString);
|
||||||
|
|
||||||
|
public override bool ShouldSave()
|
||||||
|
{
|
||||||
|
return IsValid;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[DataContract]
|
[DataContract]
|
||||||
|
|
|
||||||
|
|
@ -5,14 +5,14 @@
|
||||||
<title>Ark Server Manager Version Feed</title>
|
<title>Ark Server Manager Version Feed</title>
|
||||||
<subtitle>This is the Ark Server Manager release version feed.</subtitle>
|
<subtitle>This is the Ark Server Manager release version feed.</subtitle>
|
||||||
<link href="http://arkservermanager.freeforums.net/" />
|
<link href="http://arkservermanager.freeforums.net/" />
|
||||||
<updated>2021-06-19T01:00:00Z</updated>
|
<updated>2021-06-19T03:00:00Z</updated>
|
||||||
|
|
||||||
<entry>
|
<entry>
|
||||||
<id>urn:uuid:0A751BBA-54B5-40A6-AB09-C6B2539DAFE7</id>
|
<id>urn:uuid:0A751BBA-54B5-40A6-AB09-C6B2539DAFE7</id>
|
||||||
<title>1.1.399 (1.1.399.2)</title>
|
<title>1.1.399 (1.1.399.3)</title>
|
||||||
<summary>1.1.399.2</summary>
|
<summary>1.1.399.3</summary>
|
||||||
<link href="" />
|
<link href="" />
|
||||||
<updated>2021-06-19T01:00:00Z</updated>
|
<updated>2021-06-19T03:00:00Z</updated>
|
||||||
<content type="xhtml">
|
<content type="xhtml">
|
||||||
<div xmlns="http://www.w3.org/1999/xhtml" style="font-family: Arial, Verdana, Helvetica, Sans-Serif;font-size: .8em;">
|
<div xmlns="http://www.w3.org/1999/xhtml" style="font-family: Arial, Verdana, Helvetica, Sans-Serif;font-size: .8em;">
|
||||||
<p>
|
<p>
|
||||||
|
|
|
||||||
|
|
@ -5,10 +5,33 @@
|
||||||
<title>Ark Server Manager Version Feed</title>
|
<title>Ark Server Manager Version Feed</title>
|
||||||
<subtitle>This is the Ark Server Manager beta version feed.</subtitle>
|
<subtitle>This is the Ark Server Manager beta version feed.</subtitle>
|
||||||
<link href="http://arkservermanager.freeforums.net/" />
|
<link href="http://arkservermanager.freeforums.net/" />
|
||||||
<updated>2021-06-19T01:00:00Z</updated>
|
<updated>2021-06-19T03:00:00Z</updated>
|
||||||
|
|
||||||
<entry>
|
<entry>
|
||||||
<id>urn:uuid:0A751BBA-54B5-40A6-AB09-C6B2539DAFE7</id>
|
<id>urn:uuid:C69AFC93-0532-4703-9917-0D4296CBD559</id>
|
||||||
|
<title>1.1.399 (1.1.399.3)</title>
|
||||||
|
<summary>1.1.399.3</summary>
|
||||||
|
<link href="" />
|
||||||
|
<updated>2021-06-19T03:00:00Z</updated>
|
||||||
|
<content type="xhtml">
|
||||||
|
<div xmlns="http://www.w3.org/1999/xhtml" style="font-family: Arial, Verdana, Helvetica, Sans-Serif;font-size: .8em;">
|
||||||
|
<p>
|
||||||
|
<u style="font-size: .9em;">BUGFIX</u>
|
||||||
|
<br/>
|
||||||
|
<ul>
|
||||||
|
<li>Server Settings - Prevent Transfer Section - Added valid check to prevent writing record if dino not selected.</li>
|
||||||
|
</ul>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</content>
|
||||||
|
<author>
|
||||||
|
<name>bletch</name>
|
||||||
|
<email>bletch1971@hotmail.com</email>
|
||||||
|
</author>
|
||||||
|
</entry>
|
||||||
|
|
||||||
|
<entry>
|
||||||
|
<id>urn:uuid:D9B9BAD5-5CAE-4A94-9229-516E8335ED34</id>
|
||||||
<title>1.1.399 (1.1.399.2)</title>
|
<title>1.1.399 (1.1.399.2)</title>
|
||||||
<summary>1.1.399.2</summary>
|
<summary>1.1.399.2</summary>
|
||||||
<link href="" />
|
<link href="" />
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue