OSDN Git Service

W.I.P. Changes for non-Seasonal color on map, default spawn coords
[automap/automap.git] / Automap / Data / PersistedConfiguration.cs
1 using System;
2 using System.Collections.Generic;
3
4 using Newtonsoft.Json;
5
6 namespace Automap
7 {
8         
9         public  class PersistedConfiguration
10         {
11                 /// <summary>
12                 /// Run AM After a small delay when client has loaded fully
13                 /// </summary>
14                 /// <value>To autostart.</value>
15                 public bool Autostart { get; set; } = false;
16
17                 /// <summary>
18                 /// Use Same season effected colors as ingame-map.
19                 /// </summary>
20                 /// <value>The seasonal colors.</value>
21                 public bool SeasonalColors { get; set; } = true;
22
23                 //public string ChosenRendererName { get; set; }
24
25                 //All - Designators, setup
26                 public List<BlockDesignator> BlockDesignators { get; set; }
27                 public List<EntityDesignator> EntityDesignators { get; set; }
28
29
30                 public PersistedConfiguration(bool defaults = false )
31                 {
32
33                 if (defaults) {
34                 BlockDesignators = DefaultDesignators.DefaultBlockDesignators( );
35                 EntityDesignators= DefaultDesignators.DefaultEntityDesignators( );
36                 }
37
38                 }
39
40
41         }
42 }
43