Skip to content

Commit c60ed5f

Browse files
committed
Expose NavRouteInfoItem properties to the API so that VoiceAttack variables are properly generated.
1 parent a9a05be commit c60ed5f

1 file changed

Lines changed: 11 additions & 5 deletions

File tree

DataDefinitions/NavRouteInfoItem.cs

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,34 @@
1-
using Newtonsoft.Json;
1+
using JetBrains.Annotations;
2+
using Newtonsoft.Json;
23
using System;
34
using System.Collections.Generic;
45

56
namespace EddiDataDefinitions
67
{
78
public class NavRouteInfoItem
89
{
9-
[JsonProperty("StarSystem")]
10+
[PublicAPI("The name of the star system"), JsonProperty("StarSystem")]
1011
public string systemname { get; set; }
1112

1213
[JsonIgnore, Obsolete("Please use systemname instead.")]
1314
public string name => systemname;
1415

15-
[JsonProperty("SystemAddress")]
16+
[PublicAPI("The numeric system address of the star system"), JsonProperty( "SystemAddress")]
1617
public ulong systemAddress { get; set; }
1718

18-
[JsonProperty("StarPos")]
19+
[JsonProperty( "StarPos")]
1920
private List<decimal> starPos { get; set; }
2021

21-
[JsonProperty("StarClass")]
22+
[PublicAPI ("The stellar class of the primary star"), JsonProperty( "StarClass")]
2223
public string stellarclass { get; set; }
2324

25+
[PublicAPI("The X coordinate of the star system")]
2426
public decimal x => starPos[0];
27+
28+
[PublicAPI( "The Y coordinate of the star system" )]
2529
public decimal y => starPos[1];
30+
31+
[PublicAPI( "The Z coordinate of the star system" )]
2632
public decimal z => starPos[2];
2733

2834
// Default Constructor

0 commit comments

Comments
 (0)