Example #1
0
 internal void NotifyDied(NPC npc)
 {
     NPCEntry.NPCHandler died = this.Died;
     if (died == null)
     {
         return;
     }
     died(npc);
 }
Example #2
0
 internal void NotifyLeveledChanged(NPC npc)
 {
     NPCEntry.NPCHandler levelChanged = this.LevelChanged;
     if (levelChanged == null)
     {
         return;
     }
     levelChanged(npc);
 }
Example #3
0
 internal void NotifyActivated(NPC npc)
 {
     NPCEntry.NPCHandler activated = this.Activated;
     if (activated == null)
     {
         return;
     }
     activated(npc);
 }