/// <summary> /// Calculates the maximum version numbers between two TextureModInstallationInfo objects and returns the result. /// </summary> /// <param name="other"></param> /// <returns></returns> public TextureModInstallationInfo MergeWith(TextureModInstallationInfo other) { TextureModInstallationInfo tmii = new TextureModInstallationInfo(); tmii.ALOTVER = Math.Max(ALOTVER, other.ALOTVER); tmii.ALOTUPDATEVER = Math.Max(ALOTUPDATEVER, other.ALOTUPDATEVER); tmii.ALOTHOTFIXVER = Math.Max(ALOTHOTFIXVER, other.ALOTHOTFIXVER); tmii.MEUITMVER = Math.Max(MEUITMVER, other.MEUITMVER); return(tmii); }
public TextureModInstallationInfo(TextureModInstallationInfo textureModInstallationInfo) { }