// ***********************************************************************
// Assembly : Game
// Author : Kimch
// Created : 2021-05-26
// Description :
// Last Modified By :
// Last Modified On :
// ***********************************************************************
//
//
// ***********************************************************************
namespace G.UI
{
public partial class ArchiveBox : KUIWindow
{
#region Constructor
public ArchiveBox()
: base(UILayer.kPopup, UIMode.kNone)
{
uiPath = "ui_w_archive";
}
#endregion
#region Method
#endregion
#region Unity
///
///
///
public override void Awake()
{
InitView();
}
///
///
///
public override void OnEnable()
{
if (!ArchiveProxy.Instance.CheckOnline((error, msg, data) =>
{
if (error == 0)
{
RefreshLocal();
RefreshCloud(data);
}
}))
{
ToastBox.ShowText("请检查手机时间");
}
}
#endregion
}
}