BF2Statistics.Web.Bf2Stats.Bf2StatsData.GetMapName C# (CSharp) Method

GetMapName() public static method

Returns the map title based on the given map id
public static GetMapName ( int MapId ) : string
MapId int
return string
        public static string GetMapName(int MapId)
        {
            if (!Maps.ContainsKey(MapId))
                return "Unknown";

            return Maps[MapId];
        }