Skip to content

Commit

Permalink
EditorFileHelper would store the save file's extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
iconstudio committed Oct 6, 2023
1 parent 5efdaac commit 8969485
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Editor/TestEditor/Editor/EditorFileHelper.cs
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
using System.Diagnostics;
using System.Runtime.CompilerServices;
using System.Text.Json;

using Windows.Storage;

using TestEditor.Utility;
using TestEditor.Contents;
using TestEditor.Utility;

namespace TestEditor.Editor
{
internal static class EditorFileHelper
{
public const string mapFileDescription = "Map File";
public const string mapFileExtension = ".map";
public static readonly KeyValuePair<string, IList<string>> mapSaveExtensions;

private static List<Map> storedMaps;

Expand All @@ -23,6 +24,8 @@ internal static class EditorFileHelper

static EditorFileHelper()
{
mapSaveExtensions = new(mapFileDescription, new string[] { mapFileExtension });

storedMaps = new();
#if !NET5_0_OR_GREATER
storedMaps.Clear();
Expand Down

0 comments on commit 8969485

Please sign in to comment.