mirror of
https://github.com/tribufu/ServerManagers
synced 2026-05-06 15:17:34 +00:00
asm: add new config options
This commit is contained in:
parent
3e5ef04045
commit
6e3a6b9890
23 changed files with 1304 additions and 74 deletions
11
src/ARKServerManager.Common/Enums/CreatureBreedingable.cs
Normal file
11
src/ARKServerManager.Common/Enums/CreatureBreedingable.cs
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
using System.ComponentModel;
|
||||
|
||||
namespace ServerManagerTool.Enums
|
||||
{
|
||||
[DefaultValue(False)]
|
||||
public enum DinoBreedingable
|
||||
{
|
||||
False,
|
||||
True,
|
||||
}
|
||||
}
|
||||
|
|
@ -202,6 +202,22 @@ namespace ServerManagerTool.Utils
|
|||
}
|
||||
|
||||
public DinoTamable IsTameable = DinoTamable.False;
|
||||
|
||||
[DataMember(Name = "IsBreedingable")]
|
||||
public string IsBreedingableString
|
||||
{
|
||||
get
|
||||
{
|
||||
return IsBreedingable.ToString();
|
||||
}
|
||||
set
|
||||
{
|
||||
if (!Enum.TryParse(value, true, out IsBreedingable))
|
||||
IsBreedingable = DinoBreedingable.False;
|
||||
}
|
||||
}
|
||||
|
||||
public DinoBreedingable IsBreedingable = DinoBreedingable.False;
|
||||
}
|
||||
|
||||
[DataContract]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue