public void OnNpcSpawned(Stump.Server.WorldServer.Game.Actors.RolePlay.Npcs.Npc npc)
 {
     NpcTemplate.NpcSpawnedEventHandler npcSpawned = this.NpcSpawned;
     if (npcSpawned != null)
     {
         npcSpawned(this, npc);
     }
 }
Exemple #2
0
        public void OnNpcSpawned(Npc npc)
        {
            NpcSpawnedEventHandler handler = NpcSpawned;

            if (handler != null)
            {
                handler(this, npc);
            }
        }