12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- //------------------------------------------------------------
- // Game Framework
- // Copyright © 2013-2021 loyalsoft. All rights reserved.
- // Homepage: http://www.game7000.com/
- // Feedback: http://www.game7000.com/
- //------------------------------------------------------------
- using GameFramework;
- using GameFramework.Event;
- namespace UnityGameFramework.Runtime
- {
- /// <summary>
- /// 资源更新全部完成事件。
- /// </summary>
- public sealed class ResourceUpdateAllCompleteEventArgs : GameEventArgs
- {
- /// <summary>
- /// 资源更新全部完成事件编号。
- /// </summary>
- public static readonly int EventId = typeof(ResourceUpdateAllCompleteEventArgs).GetHashCode();
- /// <summary>
- /// 初始化资源更新全部完成事件的新实例。
- /// </summary>
- public ResourceUpdateAllCompleteEventArgs()
- {
- }
- /// <summary>
- /// 获取资源更新全部完成事件编号。
- /// </summary>
- public override int Id
- {
- get
- {
- return EventId;
- }
- }
- /// <summary>
- /// 创建资源更新全部完成事件。
- /// </summary>
- /// <param name="e">内部事件。</param>
- /// <returns>创建的资源更新全部完成事件。</returns>
- public static ResourceUpdateAllCompleteEventArgs Create(GameFramework.Resource.ResourceUpdateAllCompleteEventArgs e)
- {
- return ReferencePool.Acquire<ResourceUpdateAllCompleteEventArgs>();
- }
- /// <summary>
- /// 清理资源更新全部完成事件。
- /// </summary>
- public override void Clear()
- {
- }
- }
- }
|