@@ -25,6 +25,7 @@ public class PlaceInfo : ISerializationCallbackReceiver
2525 {
2626 private const string EMPTY_PLACE_ID = "fake_id" ;
2727
28+ // ReSharper disable InconsistentNaming
2829 public string id ;
2930 public string title ;
3031 public string description ;
@@ -67,6 +68,8 @@ public class PlaceInfo : ISerializationCallbackReceiver
6768
6869 [ SerializeField ] private string [ ] positions ;
6970
71+ // ReSharper restore InconsistentNaming
72+
7073 public bool IsEmptyPlace => id == EMPTY_PLACE_ID ;
7174
7275 [ JsonIgnore ]
@@ -122,7 +125,7 @@ public PlaceInfo(Vector2Int position)
122125 }
123126
124127 [ JsonIgnore ]
125- public float ? like_rate_as_float
128+ public float ? LikeRateAsFloat
126129 {
127130 get
128131 {
@@ -173,22 +176,26 @@ public void OnAfterDeserialize()
173176 [ Serializable ]
174177 public class Realm
175178 {
179+ // ReSharper disable InconsistentNaming
176180 public string serverName ;
177181 public string layer ;
178182 public string url ;
179183 public int usersCount ;
180184 public int maxUsers ;
181185 public Vector2Int [ ] userParcels ;
186+ // ReSharper restore InconsistentNaming
182187 }
183188 }
184189
185190 // TODO: This class should be moved to the PlacesAPIService folder
186191 [ Serializable ]
187192 public class PlacesAPIResponse : PaginatedResponse , IPlacesAPIResponse
188193 {
194+ // ReSharper disable InconsistentNaming
189195 public bool ok ;
190196 public int total ;
191197 public List < PlaceInfo > data ;
198+ // ReSharper restore InconsistentNaming
192199
193200 int IPlacesAPIResponse . Total => total ;
194201 IReadOnlyList < PlaceInfo > IPlacesAPIResponse . Data => data ;
@@ -213,16 +220,20 @@ public interface IPlacesAPIResponse : IDisposable
213220 [ Serializable ]
214221 public class PlacesAPIGetParcelResponse
215222 {
223+ // ReSharper disable InconsistentNaming
216224 public bool ok ;
217225 public PlaceInfo data ;
226+ // ReSharper restore InconsistentNaming
218227 }
219228
220229 }
221230
222231 [ Serializable ]
223232 public class OptimizedPlaceInMapResponse
224233 {
234+ // ReSharper disable InconsistentNaming
225235 public Vector2Int base_position ;
226236 public string name ;
237+ // ReSharper restore InconsistentNaming
227238 }
228239}
0 commit comments