/// <summary> /// s_armyexp静态数据表 level下能升级到最高等级 /// </summary> /// <returns>The user max hero level.</returns> /// <param name="level">Level.</param> public static int GetUserMaxHeroLevel(int level) { s_armyexpInfo Info = GetArmyexpInfo(level); if (Info != null) { return(Info.maxherolevel); } else { return(0); } }
/// <summary> /// 玩家当前等级体力值恢复上限值 /// </summary> public static int GetMaxPhysical(int level) { s_armyexpInfo Info = GetArmyexpInfo(level); if (Info != null) { return(Info.maxphysical); } else { return(0); } }
/// <summary> /// 获取舰队等级所需经验 /// </summary> public static int GetTeamExp(int level) { s_armyexpInfo Info = GetArmyexpInfo(level); if (Info != null) { return(Info.exp); } else { return(0); } }