2022-03-19 00:41:50 +08:00
|
|
|
using System;
|
2022-03-21 14:46:43 +08:00
|
|
|
using System.Collections;
|
|
|
|
|
using System.Collections.Generic;
|
2022-03-19 00:41:50 +08:00
|
|
|
using UnityEditor;
|
|
|
|
|
|
|
|
|
|
namespace YooAsset.Editor
|
|
|
|
|
{
|
|
|
|
|
[Serializable]
|
|
|
|
|
public class ReportSummary
|
|
|
|
|
{
|
2022-07-15 19:34:59 +08:00
|
|
|
/// <summary>
|
|
|
|
|
/// YooAsset版本
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string YooVersion;
|
|
|
|
|
|
2022-03-19 00:41:50 +08:00
|
|
|
/// <summary>
|
|
|
|
|
/// 引擎版本
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string UnityVersion;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 构建时间
|
|
|
|
|
/// </summary>
|
2022-07-15 19:34:59 +08:00
|
|
|
public string BuildDate;
|
2022-03-19 00:41:50 +08:00
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 构建耗时(单位:秒)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int BuildSeconds;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 构建平台
|
|
|
|
|
/// </summary>
|
|
|
|
|
public BuildTarget BuildTarget;
|
|
|
|
|
|
2022-07-15 19:34:59 +08:00
|
|
|
/// <summary>
|
|
|
|
|
/// 构建管线
|
|
|
|
|
/// </summary>
|
|
|
|
|
public EBuildPipeline BuildPipeline;
|
|
|
|
|
|
2022-05-02 23:15:09 +08:00
|
|
|
/// <summary>
|
|
|
|
|
/// 构建模式
|
|
|
|
|
/// </summary>
|
|
|
|
|
public EBuildMode BuildMode;
|
|
|
|
|
|
2022-03-19 00:41:50 +08:00
|
|
|
/// <summary>
|
2022-09-27 21:04:08 +08:00
|
|
|
/// 构建包裹
|
2022-03-19 00:41:50 +08:00
|
|
|
/// </summary>
|
2022-09-27 21:04:08 +08:00
|
|
|
public string BuildPackage;
|
2022-03-19 00:41:50 +08:00
|
|
|
|
2022-04-28 17:23:31 +08:00
|
|
|
/// <summary>
|
|
|
|
|
/// 启用可寻址资源定位
|
|
|
|
|
/// </summary>
|
|
|
|
|
public bool EnableAddressable;
|
|
|
|
|
|
2022-10-19 15:54:59 +08:00
|
|
|
/// <summary>
|
|
|
|
|
/// 资源包名唯一化
|
|
|
|
|
/// </summary>
|
|
|
|
|
public bool UniqueBundleName;
|
|
|
|
|
|
2022-03-23 17:18:43 +08:00
|
|
|
/// <summary>
|
|
|
|
|
/// 加密服务类名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string EncryptionServicesClassName;
|
|
|
|
|
|
2022-03-19 00:41:50 +08:00
|
|
|
// 构建参数
|
2022-07-23 17:39:04 +08:00
|
|
|
public EOutputNameStyle OutputNameStyle;
|
2022-03-19 00:41:50 +08:00
|
|
|
public ECompressOption CompressOption;
|
|
|
|
|
public bool DisableWriteTypeTree;
|
|
|
|
|
public bool IgnoreTypeTreeChanges;
|
|
|
|
|
|
|
|
|
|
// 构建结果
|
|
|
|
|
public int AssetFileTotalCount;
|
2022-07-18 16:26:47 +08:00
|
|
|
public int MainAssetTotalCount;
|
2022-03-19 00:41:50 +08:00
|
|
|
public int AllBundleTotalCount;
|
|
|
|
|
public long AllBundleTotalSize;
|
|
|
|
|
public int EncryptedBundleTotalCount;
|
|
|
|
|
public long EncryptedBundleTotalSize;
|
|
|
|
|
public int RawBundleTotalCount;
|
|
|
|
|
public long RawBundleTotalSize;
|
|
|
|
|
}
|
|
|
|
|
}
|