コード例 #1
0
ファイル: NPC.cs プロジェクト: 0xFh/Asda2-Project
        protected internal override void DeleteNow()
        {
            // make sure IsDeleted = true
            m_Deleted = true;
            m_entry.NotifyDeleted(this);

            if (m_spawnPoint != null && m_spawnPoint.ActiveSpawnling == this)
            {
                // remove if NPC was for some reason still considered active in pool
                m_spawnPoint.SignalSpawnlingDied(this);
            }
            m_auras.ClearWithoutCleanup();
            base.DeleteNow();
        }