打包更新修改
This commit is contained in:
parent
970ade8a78
commit
ed54b59a50
|
@ -159,26 +159,4 @@ public class Score_9001 : ScoreBase
|
|||
GameManager.NetMgr.sendSerData.remark = "";
|
||||
GameManager.NetMgr.add();
|
||||
}
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// ?????List??,??????
|
||||
/// </summary>
|
||||
/// <exception cref="System.NotImplementedException"></exception>
|
||||
public override string SaveSceneBufferList()
|
||||
{
|
||||
|
||||
return "";
|
||||
//throw new System.NotImplementedException();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// ??????
|
||||
/// </summary>
|
||||
public override void LoadSceneBufferList(string sceneInfo)
|
||||
{
|
||||
|
||||
//throw new System.NotImplementedException();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -89,13 +89,4 @@ public abstract class ScoreBase : MonoBehaviour
|
|||
{
|
||||
this.currentScore = _score;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 记录现场环境中scoreBase的各项List缓存
|
||||
/// </summary>
|
||||
public abstract string SaveSceneBufferList();
|
||||
/// <summary>
|
||||
/// 还原现场环境中scoreBase的各项List缓存
|
||||
/// </summary>
|
||||
public abstract void LoadSceneBufferList(string sceneInfo);
|
||||
}
|
||||
|
|
|
@ -463,41 +463,4 @@ public class Score_2002 : ScoreBase
|
|||
|
||||
return false;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// ?????List??,??????
|
||||
/// </summary>
|
||||
/// <exception cref="System.NotImplementedException"></exception>
|
||||
public override string SaveSceneBufferList()
|
||||
{
|
||||
BufferTemp_2002 tmp = new BufferTemp_2002();
|
||||
tmp.TestPen3list = TestPen3list;
|
||||
tmp.InSwitchCloseYDList = InSwitchCloseYDList;
|
||||
tmp.InSwitchOpenYDList = InSwitchOpenYDList;
|
||||
tmp.currentunInstallJieXian = currentunInstallJieXian;
|
||||
tmp.currentInstallJieXian = currentInstallJieXian;
|
||||
tmp.installCover = installCover;
|
||||
tmp.currentInstallTestJieXian = currentInstallTestJieXian;
|
||||
string sceneInfo = JsonConvert.SerializeObject(tmp, Formatting.Indented);
|
||||
Debug.Log("==????:" + sceneInfo);
|
||||
return sceneInfo;
|
||||
//throw new System.NotImplementedException();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// ??????
|
||||
/// </summary>
|
||||
public override void LoadSceneBufferList(string sceneInfo)
|
||||
{
|
||||
BufferTemp_2002 tmp = new BufferTemp_2002();
|
||||
tmp = JsonMapper.ToObject<BufferTemp_2002>(sceneInfo);
|
||||
TestPen3list = tmp.TestPen3list;
|
||||
InSwitchCloseYDList = tmp.InSwitchCloseYDList;
|
||||
InSwitchOpenYDList = tmp.InSwitchOpenYDList;
|
||||
currentunInstallJieXian = tmp.currentunInstallJieXian;
|
||||
currentInstallJieXian = tmp.currentInstallJieXian;
|
||||
installCover = tmp.installCover;
|
||||
currentInstallTestJieXian = tmp.currentInstallTestJieXian;
|
||||
//throw new System.NotImplementedException();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -78,7 +78,7 @@ public abstract class StepState : MonoBehaviour
|
|||
if (GameManager.RunModelMgr.SceneType != jumpSence)
|
||||
{
|
||||
//跳场景
|
||||
GameManager.UIMgr.ShowPanel<UI_LoadingPanel>(E_UI_Layer.System);
|
||||
GameManager.UIMgr.ShowPanel<UI_LoadingPanel>(E_UI_Layer.System, (panel) => { panel.Init(); });
|
||||
GameManager.ScenesMgr.LoadSceneAsyn(sname, () =>
|
||||
{
|
||||
Debug.Log("步骤场景:" + jumpSence.ToString());
|
||||
|
|
|
@ -77,8 +77,7 @@ public class ReconnectMgr : SingletonMono<ReconnectMgr>
|
|||
sub.isDone = item.Value.isDone;
|
||||
UserExamStat.allSubScore.Add(sub);
|
||||
};
|
||||
//保存场景内独有信息
|
||||
UserExamStat.currentSceneOtherInfo = scoreBase.SaveSceneBufferList();
|
||||
|
||||
}
|
||||
//记录装备材料信息
|
||||
UserExamStat.allToolAndMaterial.Clear();
|
||||
|
@ -287,7 +286,6 @@ public class ReconnectMgr : SingletonMono<ReconnectMgr>
|
|||
}
|
||||
}
|
||||
scoreBase.setCurrentScore(UserExamStat.currentScore);
|
||||
scoreBase.LoadSceneBufferList(UserExamStat.currentSceneOtherInfo);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue