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

            CharacterModInfo characterModInfo = (CharacterModInfo)obj;

            return(ModForAbility0 == characterModInfo.ModForAbility0 &&
                   ModForAbility1 == characterModInfo.ModForAbility1 &&
                   ModForAbility2 == characterModInfo.ModForAbility2 &&
                   ModForAbility3 == characterModInfo.ModForAbility3 &&
                   ModForAbility4 == characterModInfo.ModForAbility4);
        }