Esempio n. 1
0
 public CharacterLoadout(CharacterModInfo modInfo, CharacterAbilityVfxSwapInfo vfxInfo, string name = "",
                         ModStrictness strictness = ModStrictness.AllModes)
 {
     LoadoutName = name;
     ModSet      = modInfo;
     VFXSet      = vfxInfo;
     Strictness  = strictness;
 }
Esempio n. 2
0
        public override bool Equals(object obj)
        {
            if (!(obj is CharacterAbilityVfxSwapInfo))
            {
                return(false);
            }

            CharacterAbilityVfxSwapInfo characterAbilityVfxSwapInfo = (CharacterAbilityVfxSwapInfo)obj;

            return(VfxSwapForAbility0 == characterAbilityVfxSwapInfo.VfxSwapForAbility0 &&
                   VfxSwapForAbility1 == characterAbilityVfxSwapInfo.VfxSwapForAbility1 &&
                   VfxSwapForAbility2 == characterAbilityVfxSwapInfo.VfxSwapForAbility2 &&
                   VfxSwapForAbility3 == characterAbilityVfxSwapInfo.VfxSwapForAbility3 &&
                   VfxSwapForAbility4 == characterAbilityVfxSwapInfo.VfxSwapForAbility4);
        }