// ***********************************************************************
// Assembly : Game
// Author : Kimch
// Created : 2021-06-16
// Description :
// Last Modified By :
// Last Modified On :
// ***********************************************************************
//
//
// ***********************************************************************
namespace G.UI
{
public partial class GemUpgradeBox : KUIWindow
{
#region Constructor
public GemUpgradeBox()
: base(UILayer.kFloat, UIMode.kNone)
{
uiPath = "ui_w_gem_upgrade";
}
#endregion
#region Method
#endregion
#region Mediator
readonly int[] _notificationInterests = new int[]
{
GlobalDefine.EVENT_GEM_FILTER_CHANGED,
};
public override System.Collections.Generic.IList ListNotificationInterests()
{
return _notificationInterests;
}
public override void HandleNotification(PureMVC.Interfaces.INotification notification)
{
if (notification.Name == GlobalDefine.EVENT_GEM_FILTER_CHANGED)
{
RefreshFilter();
}
}
#endregion
#region Unity
///
///
///
public override void Awake()
{
InitView();
}
///
///
///
public override void OnEnable()
{
RegisterThis();
RefreshView();
}
public override void OnDisable()
{
UnregisterThis();
}
#endregion
}
}