fix:1、修复bug
This commit is contained in:
@@ -177,5 +177,7 @@ namespace RedHotRoast
|
||||
public static uint SaveingPotUI_Close = ++cursor_OpenClose;
|
||||
public static uint ArrowSettingUI_Open = ++cursor_OpenClose;
|
||||
public static uint ArrowSettingUI_Close = ++cursor_OpenClose;
|
||||
public static uint ArrowGameResultUI_Open = ++cursor_OpenClose;
|
||||
public static uint ArrowGameResultUI_Close = ++cursor_OpenClose;
|
||||
}
|
||||
}
|
||||
@@ -9,6 +9,7 @@ namespace FGUI.ZM_Common_01
|
||||
{
|
||||
public Controller state;
|
||||
public GImage ad_icon;
|
||||
public GImage img_saveingpot;
|
||||
public const string URL = "ui://o9974uc5s73p5m";
|
||||
|
||||
public static btn_claim3 CreateInstance()
|
||||
@@ -22,6 +23,7 @@ namespace FGUI.ZM_Common_01
|
||||
|
||||
state = GetControllerAt(0);
|
||||
ad_icon = (GImage)GetChildAt(1);
|
||||
img_saveingpot = (GImage)GetChildAt(4);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1818,14 +1818,16 @@ namespace RedHotRoast
|
||||
|
||||
public static string getChString(decimal ch)
|
||||
{
|
||||
var exchangeRateVo = GetExchangeRateVo();
|
||||
ch = (decimal)exchangeRateVo.Multi * ch;
|
||||
if (isRDExchangeMode() && IsGiftSwitch())
|
||||
{
|
||||
string str = "<img src='ui://o9974uc5m39de3q'/>";
|
||||
return str + $"$ {ch:N}";
|
||||
return str + $"{exchangeRateVo.Payicon}{ch:N}";
|
||||
}
|
||||
else
|
||||
{
|
||||
return $"${ch:N}";
|
||||
return $"{exchangeRateVo.Currency}{ch:N}";
|
||||
}
|
||||
}
|
||||
public static string getTrackEvenName()
|
||||
|
||||
@@ -122,7 +122,7 @@ namespace RedHotRoast
|
||||
}
|
||||
else
|
||||
{
|
||||
if (!DataMgr.LevelUnlockListNew.Value.Any(x => x.level_ == GameHelper.GetLevel()))
|
||||
if (!GameHelper.IsGiftSwitch() && !DataMgr.LevelUnlockListNew.Value.Any(x => x.level_ == GameHelper.GetLevel()))
|
||||
{
|
||||
UICtrlDispatcher.Instance.Dispatch(UICtrlMsg.UnlockLevelNewUI_Open, true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user