|
1 | | -using Newtonsoft.Json; |
| 1 | +using JetBrains.Annotations; |
| 2 | +using Newtonsoft.Json; |
2 | 3 | using System; |
3 | 4 | using System.Collections.Generic; |
4 | 5 |
|
5 | 6 | namespace EddiDataDefinitions |
6 | 7 | { |
7 | 8 | public class NavRouteInfoItem |
8 | 9 | { |
9 | | - [JsonProperty("StarSystem")] |
| 10 | + [PublicAPI("The name of the star system"), JsonProperty("StarSystem")] |
10 | 11 | public string systemname { get; set; } |
11 | 12 |
|
12 | 13 | [JsonIgnore, Obsolete("Please use systemname instead.")] |
13 | 14 | public string name => systemname; |
14 | 15 |
|
15 | | - [JsonProperty("SystemAddress")] |
| 16 | + [PublicAPI("The numeric system address of the star system"), JsonProperty( "SystemAddress")] |
16 | 17 | public ulong systemAddress { get; set; } |
17 | 18 |
|
18 | | - [JsonProperty("StarPos")] |
| 19 | + [JsonProperty( "StarPos")] |
19 | 20 | private List<decimal> starPos { get; set; } |
20 | 21 |
|
21 | | - [JsonProperty("StarClass")] |
| 22 | + [PublicAPI ("The stellar class of the primary star"), JsonProperty( "StarClass")] |
22 | 23 | public string stellarclass { get; set; } |
23 | 24 |
|
| 25 | + [PublicAPI("The X coordinate of the star system")] |
24 | 26 | public decimal x => starPos[0]; |
| 27 | + |
| 28 | + [PublicAPI( "The Y coordinate of the star system" )] |
25 | 29 | public decimal y => starPos[1]; |
| 30 | + |
| 31 | + [PublicAPI( "The Z coordinate of the star system" )] |
26 | 32 | public decimal z => starPos[2]; |
27 | 33 |
|
28 | 34 | // Default Constructor |
|
0 commit comments