bug修改
This commit is contained in:
@@ -11,6 +11,8 @@ namespace FGUI.JRewardPop
|
|||||||
public Controller curr_type;
|
public Controller curr_type;
|
||||||
public GTextField txt_title;
|
public GTextField txt_title;
|
||||||
public GButton closeButton;
|
public GButton closeButton;
|
||||||
|
public GImage img_diamond;
|
||||||
|
public GImage img_ch;
|
||||||
public GTextField text_num;
|
public GTextField text_num;
|
||||||
public com_roll com_roll;
|
public com_roll com_roll;
|
||||||
public GButton btn_more;
|
public GButton btn_more;
|
||||||
@@ -31,11 +33,13 @@ namespace FGUI.JRewardPop
|
|||||||
curr_type = GetControllerAt(1);
|
curr_type = GetControllerAt(1);
|
||||||
txt_title = (GTextField)GetChildAt(3);
|
txt_title = (GTextField)GetChildAt(3);
|
||||||
closeButton = (GButton)GetChildAt(4);
|
closeButton = (GButton)GetChildAt(4);
|
||||||
text_num = (GTextField)GetChildAt(8);
|
img_diamond = (GImage)GetChildAt(6);
|
||||||
com_roll = (com_roll)GetChildAt(9);
|
img_ch = (GImage)GetChildAt(7);
|
||||||
btn_more = (GButton)GetChildAt(10);
|
text_num = (GTextField)GetChildAt(9);
|
||||||
text_cardnum = (GTextField)GetChildAt(13);
|
com_roll = (com_roll)GetChildAt(10);
|
||||||
btn_claim = (btn_claim)GetChildAt(16);
|
btn_more = (GButton)GetChildAt(11);
|
||||||
|
text_cardnum = (GTextField)GetChildAt(14);
|
||||||
|
btn_claim = (btn_claim)GetChildAt(17);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1659,7 +1659,7 @@ namespace BingoBrain
|
|||||||
}
|
}
|
||||||
public static bool isRDExchangeMode()
|
public static bool isRDExchangeMode()
|
||||||
{
|
{
|
||||||
// return false;//zhushi
|
return false;//zhushi
|
||||||
return true;//zhushi
|
return true;//zhushi
|
||||||
return SaveData.GetSaveobject().ExchangeModeToggle == 1;
|
return SaveData.GetSaveobject().ExchangeModeToggle == 1;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -121,7 +121,7 @@ namespace BingoBrain
|
|||||||
if (GameHelper.IsGiftSwitch())
|
if (GameHelper.IsGiftSwitch())
|
||||||
{
|
{
|
||||||
UICtrlDispatcher.Instance.Dispatch(SkinInfo.BroadcastUI_Open);
|
UICtrlDispatcher.Instance.Dispatch(SkinInfo.BroadcastUI_Open);
|
||||||
if (PlayerPrefs.GetInt("first_", 0) != 1)
|
if (PlayerPrefs.GetInt("first_uid", 0) != GameHelper.GetLoginModel().uid)
|
||||||
{
|
{
|
||||||
UICtrlDispatcher.Instance.Dispatch(SkinInfo.FirstRewardUI_Open);
|
UICtrlDispatcher.Instance.Dispatch(SkinInfo.FirstRewardUI_Open);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -130,9 +130,11 @@ namespace BingoBrain
|
|||||||
GameHelper.DelayedShowGObject(this, ui.closeButton, ui.btn_claim);
|
GameHelper.DelayedShowGObject(this, ui.closeButton, ui.btn_claim);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( ConfigSystem.GetConfig<CommonModel>().PiggyBankSwitch == 1) ui.btn_more.GetChild("img_saveingpot").visible = true;
|
if (ConfigSystem.GetConfig<CommonModel>().PiggyBankSwitch == 1) ui.btn_more.GetChild("img_saveingpot").visible = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (GameHelper.IsGiftSwitch()) ui.img_diamond.visible = false;
|
||||||
|
else ui.img_ch.visible = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void OpenCloseClick(bool val)
|
private void OpenCloseClick(bool val)
|
||||||
|
|||||||
@@ -147,7 +147,7 @@ namespace BingoBrain
|
|||||||
// value => { ui.money.GetChild("text_gold").text = GameHelper.Get101Str((decimal)value); });
|
// value => { ui.money.GetChild("text_gold").text = GameHelper.Get101Str((decimal)value); });
|
||||||
// SaveData.GetSaveobject().IsGetFirstReward = true;
|
// SaveData.GetSaveobject().IsGetFirstReward = true;
|
||||||
// SaveData.saveDataFunc();
|
// SaveData.saveDataFunc();
|
||||||
PlayerPrefs.SetInt("first_", 1);
|
PlayerPrefs.SetInt("first_uid", (int)GameHelper.GetLoginModel().uid);
|
||||||
DOVirtual.DelayedCall(1f, () =>
|
DOVirtual.DelayedCall(1f, () =>
|
||||||
{
|
{
|
||||||
UICtrlDispatcher.Instance.Dispatch(SkinInfo.FirstRewardUI_Close);
|
UICtrlDispatcher.Instance.Dispatch(SkinInfo.FirstRewardUI_Close);
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user