Skip to content

Commit

Permalink
Fix CK3 basic merge
Browse files Browse the repository at this point in the history
  • Loading branch information
bcssov committed Jun 19, 2024
1 parent 8eac368 commit 800a066
Showing 1 changed file with 34 additions and 39 deletions.
73 changes: 34 additions & 39 deletions src/IronyModManager.Shared/Constants.cs
Original file line number Diff line number Diff line change
@@ -1,24 +1,27 @@

// ***********************************************************************
// ***********************************************************************
// Assembly : IronyModManager.Shared
// Author : Mario
// Created : 01-17-2020
//
// Last Modified By : Mario
// Last Modified On : 10-12-2023
// Last Modified On : 06-19-2024
// ***********************************************************************
// <copyright file="Constants.cs" company="Mario">
// Mario
// </copyright>
// <summary></summary>
// ***********************************************************************

using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;

// ReSharper disable InconsistentNaming
// ReSharper disable MemberHidesStaticFromOuterClass

namespace IronyModManager.Shared
{

/// <summary>
/// Class Constants.
/// </summary>
Expand Down Expand Up @@ -139,12 +142,12 @@ public class Constants
/// <summary>
/// The image extensions
/// </summary>
public static readonly string[] ImageExtensions = new string[] { ".gif", ".jpg", ".jpeg", ".png", ".dds", ".tga", ".bmp", ".tiff", ".tif" };
public static readonly string[] ImageExtensions = { ".gif", ".jpg", ".jpeg", ".png", ".dds", ".tga", ".bmp", ".tiff", ".tif" };

/// <summary>
/// The text extensions
/// </summary>
public static readonly string[] TextExtensions = new string[] { ".lua", ".txt", ".asset", ".gui", ".gfx", ".yml", ".csv", ".shader", ".fxh", ".mod", ".sfx", ".json" };
public static readonly string[] TextExtensions = { ".lua", ".txt", ".asset", ".gui", ".gfx", ".yml", ".csv", ".shader", ".fxh", ".mod", ".sfx", ".json" };

#endregion Fields

Expand Down Expand Up @@ -192,7 +195,7 @@ public static class NonClosingSeparators
/// <summary>
/// The map
/// </summary>
public static readonly string[] Map = new string[] { ColonSign };
public static readonly string[] Map = { ColonSign };

#endregion Fields
}
Expand Down Expand Up @@ -256,7 +259,7 @@ public static class CrusaderKings3
/// <summary>
/// The checksum folders
/// </summary>
public static readonly string[] ChecksumFolders = new string[] { "common", "events", "history", "map_data", "gui", "localization" };
public static readonly string[] ChecksumFolders = { "common", "events", "history", "map_data", "gui", "localization", "data_binding" };

/// <summary>
/// The DLC container
Expand All @@ -266,11 +269,11 @@ public static class CrusaderKings3
/// <summary>
/// The game folders
/// </summary>
public static readonly string[] GameFolders = new string[]
{
"common", "content_source", "dlc", "events", "fonts", "gfx", "gui", "history", "localization",
"map_data", "music", "notifications", "sound", "tests", "tools", "tweakergui_assets"
};
public static readonly string[] GameFolders =
[
"common", "content_source", "data_binding", "dlc", "dlc_metadata", "events", "fonts", "gfx", "gui", "history", "licenses", "localization", "map_data", "music", "notifications", "sound", "tests", "tools",
"tweakergui_assets"
];

/// <summary>
/// The launcher settings file name
Expand Down Expand Up @@ -320,15 +323,14 @@ public static class EuropaUniversalis4
/// <summary>
/// The checksum folders
/// </summary>
public static readonly string[] ChecksumFolders = new string[] { "common", "events", "missions", "decisions", "history", "map" };
public static readonly string[] ChecksumFolders = { "common", "events", "missions", "decisions", "history", "map" };

/// <summary>
/// The game folders
/// </summary>
public static readonly string[] GameFolders = new string[]
public static readonly string[] GameFolders =
{
"common", "customizable_localization", "decisions", "events", "gfx", "hints",
"history", "interface", "localisation", "map", "missions", "music", "sound", "tutorial", "tweakergui_assets"
"common", "customizable_localization", "decisions", "events", "gfx", "hints", "history", "interface", "localisation", "map", "missions", "music", "sound", "tutorial", "tweakergui_assets"
};

/// <summary>
Expand Down Expand Up @@ -369,16 +371,12 @@ public static class HeartsOfIron4
/// <summary>
/// The checksum folders
/// </summary>
public static readonly string[] ChecksumFolders = new string[] { "common", "events", "history", "map" };
public static readonly string[] ChecksumFolders = { "common", "events", "history", "map" };

/// <summary>
/// The game folders
/// </summary>
public static readonly string[] GameFolders = new string[]
{
"common", "events", "gfx", "history", "interface", "localisation",
"map", "music", "portraits", "previewer_assets", "script", "sound", "tutorial", "tweakergui_assets"
};
public static readonly string[] GameFolders = { "common", "events", "gfx", "history", "interface", "localisation", "map", "music", "portraits", "previewer_assets", "script", "sound", "tutorial", "tweakergui_assets" };

/// <summary>
/// The paradox game identifier
Expand Down Expand Up @@ -423,7 +421,7 @@ public static class ImperatorRome
/// <summary>
/// The checksum folders
/// </summary>
public static readonly string[] ChecksumFolders = new string[] { "common", "events", "decisions", "gui", "localization", "map_data", "setup" };
public static readonly string[] ChecksumFolders = { "common", "events", "decisions", "gui", "localization", "map_data", "setup" };

/// <summary>
/// The DLC container
Expand All @@ -433,11 +431,7 @@ public static class ImperatorRome
/// <summary>
/// The game folders
/// </summary>
public static readonly string[] GameFolders = new string[]
{
"common", "content_source", "decisions", "events", "fonts", "gfx",
"gui", "localization", "map_data", "music", "setup", "sound", "tutorial", "tweakergui_assets"
};
public static readonly string[] GameFolders = { "common", "content_source", "decisions", "events", "fonts", "gfx", "gui", "localization", "map_data", "music", "setup", "sound", "tutorial", "tweakergui_assets" };

/// <summary>
/// The launcher settings file name
Expand Down Expand Up @@ -492,15 +486,14 @@ public static class Stellaris
/// <summary>
/// The checksum folders
/// </summary>
public static readonly string[] ChecksumFolders = new string[] { "common", "events", "map", "localisation_synced" };
public static readonly string[] ChecksumFolders = { "common", "events", "map", "localisation_synced" };

/// <summary>
/// The game folders
/// </summary>
public static readonly string[] GameFolders = new string[]
public static readonly string[] GameFolders =
{
"pdx_launcher", "pdx_online_assets", "prescripted_countries", "previewer_assets", "sound",
"tools", "tweakergui_assets", "unchecked_defines", "common", "crash_reporter", "curated_save_games", "dlc", "dlc_metadata",
"pdx_launcher", "pdx_online_assets", "prescripted_countries", "previewer_assets", "sound", "tools", "tweakergui_assets", "unchecked_defines", "common", "crash_reporter", "curated_save_games", "dlc", "dlc_metadata",
"events", "flags", "fonts", "gfx", "interface", "launcher-assets", "licenses", "locales", "localisation", "map", "music", "pdx_browser"
};

Expand Down Expand Up @@ -542,15 +535,14 @@ public static class STInfinite
/// <summary>
/// The checksum folders
/// </summary>
public static readonly string[] ChecksumFolders = new string[] { "common", "events", "map", "localisation_synced" };
public static readonly string[] ChecksumFolders = { "common", "events", "map", "localisation_synced" };

/// <summary>
/// The game folders
/// </summary>
public static readonly string[] GameFolders = new string[]
public static readonly string[] GameFolders =
{
"common", "crash_reporter", "dlc", "dlc_metadata", "events", "flags", "fonts", "gfx", "interface",
"launcher-assets", "licenses", "locales", "localisation", "localisation_synced", "map", "music", "pdx_launcher",
"common", "crash_reporter", "dlc", "dlc_metadata", "events", "flags", "fonts", "gfx", "interface", "launcher-assets", "licenses", "locales", "localisation", "localisation_synced", "map", "music", "pdx_launcher",
"pdx_online_assets", "prescripted_countries", "previewer_assets", "sound", "tools", "tweakergui_assets"
};

Expand Down Expand Up @@ -592,7 +584,7 @@ public static class Victoria3
/// <summary>
/// The checksum folders
/// </summary>
public static readonly string[] ChecksumFolders = new string[] { "common", "events", "map_data", "gui", "localization" };
public static readonly string[] ChecksumFolders = { "common", "events", "map_data", "gui", "localization" };

/// <summary>
/// The DLC container
Expand All @@ -602,7 +594,10 @@ public static class Victoria3
/// <summary>
/// The game folders
/// </summary>
public static readonly string[] GameFolders = new string[] { "localization", "map_data", "music", "notifications", "sound", "soundtrack", "tools", "common", "content_source", "dlc", "events", "fonts", "gfx", "gui", "interface", "licenses" };
public static readonly string[] GameFolders =
{
"localization", "map_data", "music", "notifications", "sound", "soundtrack", "tools", "common", "content_source", "dlc", "events", "fonts", "gfx", "gui", "interface", "licenses"
};

/// <summary>
/// The launcher settings file name
Expand Down

0 comments on commit 800a066

Please sign in to comment.