bug修改

This commit is contained in:
2026-05-13 15:43:54 +08:00
parent f2395d0b06
commit 33de0da0e7
4 changed files with 12 additions and 1 deletions
+1 -1
View File
@@ -1658,7 +1658,7 @@ namespace BingoBrain
}
public static bool isRDExchangeMode()
{
return false;//zhushi
// return false;//zhushi
return SaveData.GetSaveobject().ExchangeModeToggle == 1;
}
public static string getDesByKey(string key)
@@ -197,6 +197,7 @@ namespace BingoBrain
{
UICtrlDispatcher.Instance.Dispatch(SkinInfo.H5UI_Open);
});
if (SaveData.GetSaveobject().PettyState == 0) UICtrlDispatcher.Instance.Dispatch(SkinInfo.PettyAwardUI_Open);
}
private void UpdateNextCardBoardTime()
@@ -134,6 +134,7 @@ namespace BingoBrain
item.quantityA[GameHelper.GetDynamicIndex(item.wheel_itemA)]);
PreferencesMgr.Instance.VidelWheelLst.Add(
item.quantityB[GameHelper.GetDynamicIndex(item.wheel_itemB)]);
Debug.Log(GameHelper.GetDynamicIndex(item.wheel_itemB));
}
PreferencesMgr.Instance.SaveFerrWheelLst();
+9
View File
@@ -17,11 +17,19 @@ namespace BingoBrain
{
string jsonstr = File.ReadAllText(jsonFilePath);
saveobject = JsonConvert.DeserializeObject<Saveobject>(jsonstr);
Debug.Log("saveobject.uid" + saveobject.uid);
Debug.Log("login.uid" + GameHelper.GetLoginModel().uid);
if (saveobject.uid != GameHelper.GetLoginModel().uid && GameHelper.GetLoginModel().uid != 0)
{
saveobject = new Saveobject();
saveobject.uid = GameHelper.GetLoginModel().uid;
}
return saveobject;
}
else
{
saveobject = new Saveobject();
saveobject.uid = GameHelper.GetLoginModel().uid;
return saveobject;
}
}
@@ -112,6 +120,7 @@ namespace BingoBrain
{
public long uid;
public bool is_get_battlepass = false;
public List<int> battle_pass_freelist = new List<int>();
public List<int> battle_pass_paylist = new List<int>();