using AlicizaX.Event.Runtime; using AlicizaX.Runtime; namespace AlicizaX.Resource.Runtime { /// /// 补丁清单更新失败 /// [UnityEngine.Scripting.Preserve] public sealed class AssetPatchManifestUpdateFailedEventArgs : GameEventArgs { public override void Clear() { Error = null; } /// /// 补丁清单更新失败事件编号 /// public static readonly string EventId = typeof(AssetPatchManifestUpdateFailedEventArgs).FullName; public override string Id { get { return EventId; } } /// /// 错误信息 /// public string Error { get; private set; } /// /// 创建补丁清单更新失败 /// /// 包名称 /// 错误信息 /// public static AssetPatchManifestUpdateFailedEventArgs Create(string error) { var assetPatchManifestUpdateFailed = ReferencePool.Acquire(); assetPatchManifestUpdateFailed.Error = error; return assetPatchManifestUpdateFailed; } } }