Skip to content

Commit

Permalink
commit v1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
OutsiderH committed Sep 9, 2023
1 parent 6bd19df commit 91d63a1
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 7 deletions.
6 changes: 2 additions & 4 deletions RoundPreset/Plugin.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using Aki.Reflection.Utils;
using BepInEx;
using BepInEx.Configuration;
using BepInEx.Logging;
using Comfort.Common;
using EFT;
using EFT.InventoryLogic;
Expand Down Expand Up @@ -47,7 +46,7 @@ private string SavesPath
return _savesPath;
}
}
internal static ManualLogSource internalLogger;
//internal static ManualLogSource internalLogger;
internal static readonly Dictionary<string, string[]> localizeTable = new()
{
{"en", new[]{"Save round", "Load round", "This magazine is not full", "This magazine is not empty", "No preset found", "preset", "apply", "delete", "ammo not include", "Item Operation failed(local change)", "Item Operation failed(uploading)", "Save succeed", "Load succeed", "File not found"} },
Expand All @@ -72,7 +71,6 @@ private void Awake()
}
JsonItem.Root root = savedPresets.ToJsonObject();
string jsonStr = JsonConvert.SerializeObject(root, Formatting.Indented);
internalLogger.LogMessage(jsonStr);
if (File.Exists(SavesPath))
{
File.Delete(SavesPath);
Expand Down Expand Up @@ -107,7 +105,7 @@ private void Awake()
NotificationManagerClass.DisplayMessageNotification(GetLocalizedString(ELocalizedStringIndex.FileLoadDone));
LoadButton.Value = false;
};
internalLogger = Logger;
//internalLogger = Logger;
CustomInteractionsManager.Register(new CustomInteractionsProvider());
}
internal static string GetLocalizedString(ELocalizedStringIndex index)
Expand Down
3 changes: 0 additions & 3 deletions RoundPreset/RoundPreset.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,6 @@
<Reference Include="Newtonsoft.Json">
<HintPath>..\res\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="Newtonsoft.Json.UnityConverters">
<HintPath>..\res\Newtonsoft.Json.UnityConverters.dll</HintPath>
</Reference>
<Reference Include="UnityEngine">
<HintPath>..\res\UnityEngine.dll</HintPath>
</Reference>
Expand Down
Binary file removed res/EFTApi.dll
Binary file not shown.
Binary file removed res/ItemComponent.Types.dll
Binary file not shown.
Binary file removed res/ItemTemplate.Types.dll
Binary file not shown.
Binary file removed res/Newtonsoft.Json.UnityConverters.dll
Binary file not shown.
Binary file removed res/Sirenix.Serialization.dll
Binary file not shown.

0 comments on commit 91d63a1

Please sign in to comment.