コード例 #1
0
 public ModEntry(UMMData data, string strModPath)
 {
     m_ModData = data;
     Path      = strModPath;
     Info      = new ModInfo(data);
     Logger    = new ModLogger(Info.Id);
 }
コード例 #2
0
            public static ModEntry GetModEntry(UMMData data, string strModPath)
            {
                if (data == null)
                {
                    throw new NullReferenceException("Must provide valid data");
                }

                return(new ModEntry(data, strModPath));
            }
コード例 #3
0
 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";
 }