62 lines
1.1 KiB
C#
Raw Normal View History

2025-05-18 01:04:31 +08:00
// ***********************************************************************
// Assembly : Game
// Author : Kimch
// Created : 2021-05-26
// Description :
// Last Modified By :
// Last Modified On :
// ***********************************************************************
// <copyright file= "ArchiveBox" company="Kunpo"></copyright>
// <summary></summary>
// ***********************************************************************
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
/// <summary>
///
/// </summary>
public override void Awake()
{
InitView();
}
/// <summary>
///
/// </summary>
public override void OnEnable()
{
if (!ArchiveProxy.Instance.CheckOnline((error, msg, data) =>
{
if (error == 0)
{
RefreshLocal();
RefreshCloud(data);
}
}))
{
ToastBox.ShowText("请检查手机时间");
}
}
#endregion
}
}