public static void AddLevel()
    {
        //这里表示玩家已经通过当前关卡,需要对关卡信息进行存档
        if (IGamerProfile.Instance != null)
        {
            int index = _gameData.Level - 1;
            if (index < IGamerProfile.Instance.playerdata.levelProcess.Length)
            {
                //更新进度
                IGamerProfile.Instance.playerdata.levelProcess[index] = IGamerProfile.gameLevel.mapMaxLevel[index];
                IGamerProfile.Instance.SaveGamerProfileToServer();
            }

            if (_gameData.Level < IGamerProfile.Instance.playerdata.levelProcess.Length)
            {
                _gameData.Level++;
            }
            else
            {
                //已经到最大关卡了
            }
        }
        else
        {
            _gameData.Level++;
        }

        if (IGamerProfile.Instance != null)
        {
            int weaponLevel = VirusTool.UnlockViceWeapon(_gameData.Level);
            if (weaponLevel >= (int)UiSceneSelectGameCharacter.CharacterId.ChildWeapon01 &&
                weaponLevel <= (int)UiSceneSelectGameCharacter.CharacterId.ChildWeaponCount)
            {
                if (IGamerProfile.Instance.playerdata.characterData[weaponLevel].isactive == false)
                {
                    //解锁副武器
                    //标记当前角色解锁
                    IGamerProfile.Instance.playerdata.characterData[weaponLevel].isactive = true;
                    //存储档案
                    IGamerProfile.Instance.SaveGamerProfileToServer();
                }
            }
        }
    }