Exemplo n.º 1
0
        public HiddenSplitTypesSettingsVM(PSO2DamageTrackers separatedTrackers, PSO2DamageTrackers hiddenTrackers)
        {
            SplitAIS      = separatedTrackers.HasFlag(PSO2DamageTrackers.AIS);
            SplitDB       = separatedTrackers.HasFlag(PSO2DamageTrackers.DarkBlast);
            SplitHTF      = separatedTrackers.HasFlag(PSO2DamageTrackers.HTF);
            SplitPWP      = separatedTrackers.HasFlag(PSO2DamageTrackers.PWP);
            SplitLSW      = separatedTrackers.HasFlag(PSO2DamageTrackers.LSW);
            SplitRide     = separatedTrackers.HasFlag(PSO2DamageTrackers.Ride);
            SplitZanverse = separatedTrackers.HasFlag(PSO2DamageTrackers.Zanverse);
            SplitStatus   = separatedTrackers.HasFlag(PSO2DamageTrackers.Burn);

            HideAIS      = hiddenTrackers.HasFlag(PSO2DamageTrackers.AIS);
            HideDB       = hiddenTrackers.HasFlag(PSO2DamageTrackers.DarkBlast);
            HideHTF      = hiddenTrackers.HasFlag(PSO2DamageTrackers.HTF);
            HidePWP      = hiddenTrackers.HasFlag(PSO2DamageTrackers.PWP);
            HideLSW      = hiddenTrackers.HasFlag(PSO2DamageTrackers.LSW);
            HideRide     = hiddenTrackers.HasFlag(PSO2DamageTrackers.Ride);
            HideZanverse = hiddenTrackers.HasFlag(PSO2DamageTrackers.Zanverse);
            HideStatus   = hiddenTrackers.HasFlag(PSO2DamageTrackers.Burn);
        }
Exemplo n.º 2
0
 bool IsSplit(PSO2DamageTrackers tracker)
 {
     return(!trackerFlags.HasFlag(tracker));
 }