BF2Statistics.MapListForm.GameModeToString C# (CSharp) Method

GameModeToString() protected method

Parses a maplist.con game mode variable into a human readable one.
protected GameModeToString ( string mode ) : string
mode string The gamemode from the maplist.con
return string
        protected string GameModeToString(string mode)
        {
            switch (mode)
            {
                case "gpm_coop":
                    return "Co-op";
                case "gpm_cq":
                    return "Conquest";
                case "sp1":
                    return "Singleplayer 16";
                case "sp2":
                    return "Singleplayer 32";
                case "sp3":
                    return "Singleplayer 64";
                default:
                    return mode;
            }
        }