OSDN Git Service

1/2 Fix; Truncation of Protocol-buffer POI data
[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                 /// <summary>
24                 /// Which appearance 'theme' should shards have?
25                 /// </summary>
26                 /// <value>'Standard' / 'Alternate' / 'Flat'</value>
27                 public string RendererName { get; set; } = @"Standard";
28
29                 //All - Designators, setup
30                 public List<BlockDesignator> BlockDesignators { get; set; }
31                 public List<EntityDesignator> EntityDesignators { get; set; }
32
33
34                 public PersistedConfiguration(bool defaults = false )
35                 {
36
37                 if (defaults) {
38                 BlockDesignators = DefaultDesignators.DefaultBlockDesignators;
39                 EntityDesignators= DefaultDesignators.DefaultEntityDesignators;
40                 }
41
42                 }
43
44
45         }
46 }
47