public class PatchEventMessageDefine
{
///
/// 补丁流程步骤改变
///
public class PatchStatesChange : IEventMessage
{
public EPatchStates CurrentStates;
}
///
/// 发现更新文件
///
public class FoundUpdateFiles : IEventMessage
{
public int TotalCount;
public long TotalSizeBytes;
}
///
/// 下载进度更新
///
public class DownloadProgressUpdate : IEventMessage
{
public int TotalDownloadCount;
public int CurrentDownloadCount;
public long TotalDownloadSizeBytes;
public long CurrentDownloadSizeBytes;
}
///
/// 资源版本号更新失败
///
public class StaticVersionUpdateFailed : IEventMessage
{
}
///
/// 补丁清单更新失败
///
public class PatchManifestUpdateFailed : IEventMessage
{
}
///
/// 网络文件下载失败
///
public class WebFileDownloadFailed : IEventMessage
{
public string FileName;
public string Error;
}
}