public ModEntry(UMMData data, string strModPath) { m_ModData = data; Path = strModPath; Info = new ModInfo(data); Logger = new ModLogger(Info.Id); }
public static ModEntry GetModEntry(UMMData data, string strModPath) { if (data == null) { throw new NullReferenceException("Must provide valid data"); } return(new ModEntry(data, strModPath)); }
public ModInfo(UMMData data) { Id = data.Id; DisplayName = data.DisplayName; Author = data.Author; Version = data.Version; ManagerVersion = "1.0.0"; GameVersion = "1.0.0"; Requirements = data.Requirements; AssemblyName = data.AssemblyName; EntryMethod = data.EntryMethod; HomePage = "www.nexusmods.com"; Repository = "www.nexusmods.com"; }