public long GetFightingByStrongerType(StrongerType type) { long result = 0L; switch (type) { case StrongerType.Equip: result = EquipGlobal.GetAllEquipAttrValue(); break; case StrongerType.EquipStrength: result = EquipGlobal.GetAllEquipDevelopAttrValue(); break; case StrongerType.EquipStarUp: result = EquipGlobal.GetAllEquipStarUpAttrValue(); break; case StrongerType.EquipEnchantment: result = EquipGlobal.GetAllEquipEnchantmentAttrValue(); break; case StrongerType.Gem: result = GemGlobal.getAllGemAttrValue(); break; case StrongerType.Wing: result = WingGlobal.GetCurrentWingFightingValue(); break; case StrongerType.PetLevel: result = (long)PetManager.Instance.GetFormationPetLevel(); break; case StrongerType.PetUpgrade: result = PetManager.Instance.GetFormationAddFighting(); break; case StrongerType.GodSoldier: result = GodSoldierManager.Instance.GetAllGodSoliderAttrValue(); break; } return(result); }