public void LoadDefinitionsAndMods() { if (_resources == null || Checkpoint == null || Checkpoint.Mods == null) { return; } _resources.LoadDefinitionsAndMods(DataPath.ModsPath, Checkpoint.Mods.ToArray()); }
public void LoadDefinitionsAndMods() { if (_resources == null || Checkpoint == null || Checkpoint.Mods == null) { return; } var cancelToken = new MyWorkshop.CancelToken(); SpaceEngineersWorkshop.GetModItems(Checkpoint.Mods, cancelToken); _resources.LoadDefinitionsAndMods(DataPath.ModsPath, Checkpoint.Mods); }
public void LoadDefinitionsAndMods() { if (_resources == null || Checkpoint == null || Checkpoint.Mods == null) { return; } var modList = Checkpoint.Mods.ToArray(); for (int i = 0; i < modList.Length; i++) { modList[i].FriendlyName = modList[i].Name; } _resources.LoadDefinitionsAndMods(DataPath.ModsPath, modList); }