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