22 lines
653 B
C#
22 lines
653 B
C#
using Thousandto.Code.Center;
|
|
using Thousandto.Core.Base;
|
|
|
|
namespace Thousandto.Code.Logic
|
|
{
|
|
/// <summary>
|
|
/// 更新管理系统,对接更新模块,转接接口
|
|
/// </summary>
|
|
public class UpdateInfo
|
|
{
|
|
public MyAction OkAction { get; set; }
|
|
public MyAction NoAction { get; set; }
|
|
public string Message { get; set; }
|
|
public long TotalSize { get; set; }
|
|
public bool ReturnToLogin { get; set; }
|
|
|
|
public void GetCurSceneProgress(out long total, out long downloaded)
|
|
{
|
|
GameCenter.UpdateSystem.GetCurSceneTotalResSize(out total, out downloaded);
|
|
}
|
|
}
|
|
} |