|
@@ -145,23 +145,11 @@ namespace GFGGame
|
|
|
|
|
|
public decimal GetGuideProgress()
|
|
|
{
|
|
|
-
|
|
|
- int suitHaveCount = 0;
|
|
|
- int suitTotalCount = 1;
|
|
|
+ int suitHaveCount;
|
|
|
+ int suitTotalCount;
|
|
|
DressUpMenuSuitDataManager.GetTotalProgress(out suitHaveCount, out suitTotalCount);
|
|
|
- // int chapterItemHaveCount = 0;
|
|
|
- // int chapterItemTotalCount = 1;
|
|
|
- // InstanceZonesDataManager.GetTotalProgress(out chapterItemHaveCount, out chapterItemTotalCount);
|
|
|
- // int travelHaveCount = 0;
|
|
|
- // int travelTotalCount = 1;
|
|
|
- // TravelDataManager.Instance.GetTotalTravelProgress(out travelHaveCount, out travelTotalCount);
|
|
|
-
|
|
|
- // int haveCount = suitHaveCount + chapterItemHaveCount + travelHaveCount;
|
|
|
- // int totalCount = suitTotalCount + chapterItemTotalCount + travelTotalCount;
|
|
|
-
|
|
|
- decimal value = Math.Floor((decimal)100 * suitHaveCount / suitTotalCount);
|
|
|
+ decimal value = FieldGuideView.ProgressCalculate(suitHaveCount, suitTotalCount);
|
|
|
return value;
|
|
|
-
|
|
|
}
|
|
|
|
|
|
public void UpdateHeadWithLv(GComponent component, int headId, int roleBorderId, int lv)
|