Exemplo n.º 1
0
 public void Init()
 {
     DFlags.AddRange(GetValidDistributeFlags());
     CriticalMods.AddRange(EditorToClientUtils.GetCriticalMods());
     for (int i = 0; i < DFlags.Count; ++i)
     {
         var flag = DFlags[i];
         ModToPackage[flag] = EditorToClientUtils.GetPackageNameFromModName(flag);
     }
     for (int i = 0; i < CriticalMods.Count; ++i)
     {
         var flag = CriticalMods[i];
         ModToPackage[flag] = EditorToClientUtils.GetPackageNameFromModName(flag);
     }
 }
 public static string[] GetCriticalMods()
 {
     return(EditorToClientUtils.GetCriticalMods());
 }