//add, replace, or remove tattoo. internal TattooDataChangedEventArgs(IBodyPart source, T location, TattooBase oldTattoo, TattooBase newTattoo, int newTattooCount) { parent = source ?? throw new ArgumentNullException(nameof(source)); if (location == null) { throw new ArgumentNullException(nameof(location)); } this.newTattooCount = newTattooCount; if (oldTattoo == null != (newTattoo == null)) { if (oldTattoo == null) { oldTattooCount = newTattooCount - 1; } else { oldTattooCount = newTattooCount + 1; } } else { oldTattooCount = newTattooCount; } Dictionary <T, ValueDifference <TattooBase> > tatDiff = new Dictionary <T, ValueDifference <TattooBase> > { { location, new ValueDifference <TattooBase>(oldTattoo, newTattoo) } }; }
//matching tattoos, but different colors. public bool MatchingHandTattooIgnoreColor() { return(TattooBase.MatchingTattoosIgnoreColor(this[ArmTattooLocation.LEFT_HAND], this[ArmTattooLocation.RIGHT_HAND])); }
public bool MatchingWristTattoosIgnoreColor() { return(TattooBase.MatchingTattoosIgnoreColor(this[ArmTattooLocation.LEFT_WRIST], this[ArmTattooLocation.RIGHT_WRIST])); }
public bool MatchingInnerForearmTattoosIgnoreColor() { return(TattooBase.MatchingTattoosIgnoreColor(this[ArmTattooLocation.LEFT_INNER_FOREARM], this[ArmTattooLocation.RIGHT_INNER_FOREARM])); }
public bool MatchingOuterForearmTattoos() { return(TattooBase.MatchingTattoos(this[ArmTattooLocation.LEFT_OUTER_FOREARM], this[ArmTattooLocation.RIGHT_OUTER_FOREARM])); }
public bool MatchingUpperArmTattoosIgnoreColor() { return(TattooBase.MatchingTattoosIgnoreColor(this[ArmTattooLocation.LEFT_UPPER_ARM], this[ArmTattooLocation.RIGHT_UPPER_ARM])); }
public bool MatchingShoulderTattoosIgnoreColor() { return(TattooBase.MatchingTattoosIgnoreColor(this[ArmTattooLocation.LEFT_SHOULDER], this[ArmTattooLocation.RIGHT_SHOULDER])); }
public bool MatchingSleeveTattoosIgnoreColor() { return(TattooBase.MatchingTattoosIgnoreColor(this[ArmTattooLocation.LEFT_SLEEVE], this[ArmTattooLocation.RIGHT_SLEEVE])); }
public override bool EqualsIgnoreColor(TattooBase other) { return(other is RunicBodyTattoo); }