public GameKeywords Keywords { get; set; }
/// <summary>
- /// Gets or sets the MapId selected for this lobby as per values in <see cref="Innersloth.MapId"/>.
+ /// Gets or sets the MapId selected for this lobby
/// </summary>
/// <remarks>
/// Skeld = 0, MiraHQ = 1, Polus = 2.
/// </remarks>
- public byte MapId { get; set; }
+ internal byte MapId { get; set; }
/// <summary>
/// Gets or sets the map selected for this lobby
/// </summary>
- public MapTypes Map
+ public MapTypes Map
{
get => (MapTypes)MapId;
set => MapId = (byte)value;
+++ /dev/null
-using System;
-
-namespace Impostor.Api.Innersloth
-{
- [Obsolete("Use Map property instead of MapId, and compare with MapTypes enum.")]
- public static class MapId
- {
- public const int Skeld = 0;
- public const int MiraHQ = 1;
- public const int Polus = 2;
- }
-}
\ No newline at end of file