File tree 3 files changed +11
-13
lines changed
3 files changed +11
-13
lines changed Original file line number Diff line number Diff line change 1
- using System ;
2
- using System . Collections . Generic ;
3
- using System . Linq ;
4
- using System . Text ;
5
- using System . Threading . Tasks ;
6
- using Torch ;
1
+ using Torch ;
7
2
8
3
namespace StaticMarker
9
4
{
Original file line number Diff line number Diff line change 1
- using System ;
2
- using System . Collections . Generic ;
3
- using System . Linq ;
4
- using System . Text ;
5
- using System . Threading . Tasks ;
1
+ using System . Collections . Generic ;
6
2
using VRage . Game ;
7
3
8
4
namespace StaticMarker
9
5
{
10
6
public class MarkerEntriesConfig
11
7
{
12
- public List < MyObjectBuilder_Gps . Entry > Entries = new List < MyObjectBuilder_Gps . Entry > ( ) ;
8
+ private List < MyObjectBuilder_Gps . Entry > _entries = new List < MyObjectBuilder_Gps . Entry > ( ) ;
9
+ public List < MyObjectBuilder_Gps . Entry > Entries {
10
+ get => _entries ;
11
+ set {
12
+ _entries . Clear ( ) ;
13
+ _entries . AddRange ( value ) ;
14
+ }
15
+ }
13
16
}
14
17
}
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ namespace StaticMarker
16
16
{
17
17
public class MarkerPlugin : TorchPluginBase , IWpfPlugin
18
18
{
19
- const string ConfigFile = "StaticMarkerEntries .cfg" ;
19
+ const string ConfigFile = "StaticMarker .cfg" ;
20
20
const string ConfigMarkersFile = "StaticMarkerEntries.cfg" ;
21
21
22
22
private MarkerControl _control ;
You can’t perform that action at this time.
0 commit comments