2025-05-18 01:04:31 +08:00

84 lines
1.5 KiB
C#

// ***********************************************************************
// Assembly : Game
// Author : Kimch
// Created : 2021-09-17
// Description :
// Last Modified By :
// Last Modified On :
// ***********************************************************************
// <copyright file= "BookDetailWindow" company="Kunpo"></copyright>
// <summary></summary>
// ***********************************************************************
using System.Collections.Generic;
namespace G.UI
{
public partial class BookDetailWindow : KUIWindow
{
#region Constructor
public BookDetailWindow()
: base(UILayer.kFloat, UIMode.kSequenceHide)
{
uiPath = "ui_w_book_detail";
}
#endregion
#region Method
#endregion
#region Unity
/// <summary>
///
/// </summary>
public override void Awake()
{
InitView();
}
/// <summary>
///
/// </summary>
public override void OnEnable()
{
RegisterThis();
RefreshView();
}
public override void OnDisable()
{
UnregisterThis();
ClearView();
}
#endregion
#region Mediator
readonly int[] _notificationInterests = new int[]
{
GlobalDefine.EVENT_BOOK_ARRANGE,
};
public override IList<int> ListNotificationInterests()
{
return _notificationInterests;
}
public override void HandleNotification(PureMVC.Interfaces.INotification notification)
{
if (notification.Name == GlobalDefine.EVENT_BOOK_ARRANGE)
{
OnLineDrop();
}
}
#endregion
}
}