bug修改
This commit is contained in:
@@ -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>();
|
||||
|
||||
Reference in New Issue
Block a user