-
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Log adjacencies file path for debugging (#1844) #patch
- Loading branch information
1 parent
149a80d
commit 7a41344
Showing
3 changed files
with
22 additions
and
8 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
ImperatorToCK3.UnitTests/TestFiles/MapData/CK3_all_prov_defs/game/map_data/adjacencies.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
From;To;Type;Through;start_x;start_y;stop_x;stop_y;Comment | ||
496;497 | ||
496;497;sea;3759;0;0;1;1;Test adjacency |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
using CsvHelper.Configuration.Attributes; | ||
|
||
namespace ImperatorToCK3.CommonUtils.Map; | ||
|
||
public sealed class Adjacency { | ||
[Index(0)] public long From { get; set; } | ||
[Index(1)] public long To { get; set; } | ||
[Index(2)] public string Type { get; set; } = string.Empty; | ||
[Index(3)] public long Through { get; set; } | ||
[Index(4)] public long StartX { get; set; } | ||
[Index(5)] public long StartY { get; set; } | ||
[Index(6)] public long StopX { get; set; } | ||
[Index(7)] public long StopY { get; set; } | ||
[Index(8)] public string Comment { get; set; } = string.Empty; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters