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