Exemplo n.º 1
0
 protected override void AddEventListener()
 {
     base.AddEventListener();
     NotiCenter.AddEventListener(KCEvent.KCTileChange, delegate(object data)
     {
         ShowMask();
     });
 }
Exemplo n.º 2
0
 protected override void AddEventListener()
 {
     base.AddEventListener();
     NotiCenter.AddEventListener(KCEvent.KCTileChange, delegate(object data)
     {
         Fresh();
     });
     NotiCenter.AddEventListener(KCEvent.KCItemsChange, delegate(object data)
     {
         ShowAddItemsAni((int[])data);
     });
     NotiCenter.AddEventListener(KCEvent.KCHeroHPChange, delegate(object data)
     {
         FreshText(data);
     });
 }