Esempio n. 1
0
        public static void DespawnNPC(ulong target, DespawnType type)
        {
            NearbyNPC.Remove(target);

            WindowManager.BossWindow.VM.RemoveBoss(target, type);
            if (WindowManager.BossWindow.VM.VisibleBossesCount == 0)
            {
                SessionManager.Encounter = false;
                WindowManager.GroupWindow.VM.SetAggro(0);
            }
            ClassAbnormalityTracker.CheckMarkingOnDespawn(target);
            FlyingGuardianDataProvider.InvokeProgressChanged();
        }
        public static void DespawnNPC(ulong target, DespawnType type)
        {
            if (NearbyNPC.ContainsKey(target))
            {
                NearbyNPC.Remove(target);
            }

            BossGageWindowViewModel.Instance.RemoveBoss(target, type);
            if (BossGageWindowViewModel.Instance.VisibleBossesCount == 0)
            {
                SessionManager.Encounter = false;
                GroupWindowViewModel.Instance.SetAggro(0);
            }
            ClassAbnormalityTracker.CheckMarkingOnDespawn(target);
            FlyingGuardianDataProvider.InvokeProgressChanged();
        }