public NavPolyId GetNextTileRef() { //Salt is 1 for first version. As tiles get edited, change salt. //Salt can't be 0, otherwise the first poly of tile 0 is incorrectly seen as PolyId.Null. return idManager.Encode(1, tileList.Count, 0); }