Skip to content

Commit

Permalink
1.4.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Kurochi51 committed May 5, 2024
1 parent 3e4d78b commit 6d7038f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions TickTracker/IPC/PenumbraIpc.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public sealed class PenumbraIpc : IDisposable
/// Key is directory name, Value is mod name.
/// </summary>
private readonly ICallGateSubscriber<Dictionary<string, string>> modList;
private readonly ICallGateSubscriber<Guid, string, string, bool,
private readonly ICallGateSubscriber<Guid, string, string, bool,
(PenumbraApiEc status, (bool modEnabled, int priority, Dictionary<string, List<string>> optionDetails, bool ignoreInheritance)? settings)> modSettings;
private readonly ICallGateSubscriber<ModSettingChange, Guid, string, bool, Action?> modSettingsChanged;
private readonly (Guid Id, string Name) interfaceCollection;
Expand Down Expand Up @@ -124,7 +124,7 @@ public PenumbraIpc(DalamudPluginInterface _pluginInterface, IPluginLog _pluginLo

private void CheckState(bool penumbraEnabled)
{
NativeUiBanned = penumbraEnabled
NativeUiBanned = penumbraEnabled
&& penumbraApiVersion.Breaking == 4 ? OldCheckMUIPresence(oldModList.InvokeFunc(), oldInterfaceCollection.InvokeFunc())

Check warning on line 128 in TickTracker/IPC/PenumbraIpc.cs

View workflow job for this annotation

GitHub Actions / build

'PenumbraIpc.oldModList' is obsolete: 'Changed with Penumbra API rework'

Check warning on line 128 in TickTracker/IPC/PenumbraIpc.cs

View workflow job for this annotation

GitHub Actions / build

'PenumbraIpc.oldInterfaceCollection' is obsolete: 'Changed with Penumbra API rework'

Check warning on line 128 in TickTracker/IPC/PenumbraIpc.cs

View workflow job for this annotation

GitHub Actions / build

'PenumbraIpc.oldModList' is obsolete: 'Changed with Penumbra API rework'

Check warning on line 128 in TickTracker/IPC/PenumbraIpc.cs

View workflow job for this annotation

GitHub Actions / build

'PenumbraIpc.oldInterfaceCollection' is obsolete: 'Changed with Penumbra API rework'
: CheckMUIPresence(modList.InvokeFunc(), interfaceCollection.Id);
}
Expand All @@ -147,7 +147,7 @@ private bool CheckMUIPresence(Dictionary<string, string> modList, Guid collectio
}
foreach (var mod in modList)
{
if (!mod.Value.Contains("Material UI", StringComparison.OrdinalIgnoreCase)
if (!mod.Value.Contains("Material UI", StringComparison.OrdinalIgnoreCase)
&& !mod.Key.Contains("Material UI", StringComparison.OrdinalIgnoreCase))
{
continue;
Expand All @@ -163,7 +163,7 @@ private bool CheckMUIPresence(Dictionary<string, string> modList, Guid collectio
return false;
}


private void OldCheckModChanges(ModSettingChange type, string collectionName, string modDirectory, bool inherited)
{
if ((type is not ModSettingChange.EnableState && type is not ModSettingChange.Inheritance) || !oldInterfaceCollection.InvokeFunc().Equals(collectionName, StringComparison.Ordinal))

Check warning on line 169 in TickTracker/IPC/PenumbraIpc.cs

View workflow job for this annotation

GitHub Actions / build

'PenumbraIpc.oldInterfaceCollection' is obsolete: 'Changed with Penumbra API rework'

Check warning on line 169 in TickTracker/IPC/PenumbraIpc.cs

View workflow job for this annotation

GitHub Actions / build

'PenumbraIpc.oldInterfaceCollection' is obsolete: 'Changed with Penumbra API rework'
Expand Down Expand Up @@ -196,7 +196,7 @@ private bool OldCheckMUIPresence(IEnumerable<(string modDirectory, string modNam
}
return false;
}


private void PenumbraInit()
{
Expand Down
2 changes: 1 addition & 1 deletion TickTracker/TickTracker.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<Authors></Authors>
<Company></Company>
<Version>1.4.2.0</Version>
<Version>1.4.3.0</Version>
<Description>A plugin that keeps track of HP/MP/GP ticks.</Description>
<Copyright></Copyright>
<PackageProjectUrl>https://github.com/Kurochi51/TickTracker</PackageProjectUrl>
Expand Down

0 comments on commit 6d7038f

Please sign in to comment.