muffin v7.5.13

This commit is contained in:
alydev 2026-08-22 10:25:22 +10:00
parent 911ed68baa
commit acf3e3cb18
69 changed files with 2731 additions and 1425 deletions

View file

@ -1,11 +1,9 @@
using System;
using System.Reflection;
using Dalamud.Bindings.ImGui;
using Dalamud.Interface.Windowing;
namespace LLib.ImGui;
[Obfuscation(Feature = "-rename", Exclude = false, ApplyToMembers = true)]
public abstract class LWindow : Window
{
private bool _initializedConfig;

View file

@ -1,8 +1,5 @@
using System.Reflection;
namespace LLib.ImGui;
[Obfuscation(Feature = "-rename", Exclude = false, ApplyToMembers = true)]
public class WindowConfig
{
public bool IsPinned { get; set; }

View file

@ -1,6 +1,5 @@
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Text;
using Dalamud.Plugin.Services;
using Microsoft.Extensions.Logging;
@ -120,33 +119,7 @@ public sealed class DalamudLoggerProvider : ILoggerProvider, IDisposable, ISuppo
public ILogger CreateLogger(string categoryName)
{
string name = _categoryNameFormatter(categoryName);
if (LooksObfuscated(name))
{
name = null;
}
return new DalamudLogger(name, this, _pluginLog);
}
private static bool LooksObfuscated(string? name)
{
if (string.IsNullOrEmpty(name))
{
return false;
}
foreach (char c in name)
{
if (char.IsControl(c))
{
return true;
}
UnicodeCategory unicodeCategory = CharUnicodeInfo.GetUnicodeCategory(c);
if (((uint)(unicodeCategory - 15) <= 2u || unicodeCategory == UnicodeCategory.OtherNotAssigned) ? true : false)
{
return true;
}
}
return false;
return new DalamudLogger(_categoryNameFormatter(categoryName), this, _pluginLog);
}
public void SetScopeProvider(IExternalScopeProvider scopeProvider)