mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
fix cs breaks
This commit is contained in:
parent
167e76911e
commit
084f8b55e7
3 changed files with 7 additions and 7 deletions
|
|
@ -165,7 +165,7 @@ internal unsafe class PluginEventController : IDisposable
|
|||
{
|
||||
var paramKeyMatches = currentEvent->Param == eventEntry.ParamKey;
|
||||
var eventListenerAddressMatches = (nint)currentEvent->Listener == this.EventListener.Address;
|
||||
var eventTypeMatches = currentEvent->Type == eventType;
|
||||
var eventTypeMatches = currentEvent->State.EventType == eventType;
|
||||
|
||||
if (paramKeyMatches && eventListenerAddressMatches && eventTypeMatches)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ public unsafe partial class AddonTree
|
|||
{
|
||||
private static readonly Dictionary<string, Type?> AddonTypeDict = [];
|
||||
|
||||
private static readonly Assembly? ClientStructsAssembly = typeof(Addon).Assembly;
|
||||
private static readonly Assembly? ClientStructsAssembly = typeof(AddonAttribute).Assembly;
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a collection of names for field offsets that have been documented in FFXIVClientStructs.
|
||||
|
|
@ -36,7 +36,7 @@ public unsafe partial class AddonTree
|
|||
{
|
||||
foreach (var t in from t in ClientStructsAssembly.GetTypes()
|
||||
where t.IsPublic
|
||||
let xivAddonAttr = (Addon?)t.GetCustomAttribute(typeof(Addon), false)
|
||||
let xivAddonAttr = (AddonAttribute?)t.GetCustomAttribute(typeof(AddonAttribute), false)
|
||||
where xivAddonAttr != null
|
||||
where xivAddonAttr.AddonIdentifiers.Contains(this.AddonName)
|
||||
select t)
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ public static class Events
|
|||
ImGui.TableSetupColumn("Type", WidthFixed);
|
||||
ImGui.TableSetupColumn("Param", WidthFixed);
|
||||
ImGui.TableSetupColumn("Flags", WidthFixed);
|
||||
ImGui.TableSetupColumn("Unk29", WidthFixed);
|
||||
ImGui.TableSetupColumn("StateFlags1", WidthFixed);
|
||||
ImGui.TableSetupColumn("Target", WidthFixed);
|
||||
ImGui.TableSetupColumn("Listener", WidthFixed);
|
||||
|
||||
|
|
@ -48,13 +48,13 @@ public static class Events
|
|||
ImGui.TableNextColumn();
|
||||
ImGui.TextUnformatted($"{i++}");
|
||||
ImGui.TableNextColumn();
|
||||
ImGui.TextUnformatted($"{evt->Type}");
|
||||
ImGui.TextUnformatted($"{evt->State.EventType}");
|
||||
ImGui.TableNextColumn();
|
||||
ImGui.TextUnformatted($"{evt->Param}");
|
||||
ImGui.TableNextColumn();
|
||||
ImGui.TextUnformatted($"{evt->Flags}");
|
||||
ImGui.TextUnformatted($"{evt->State.StateFlags}");
|
||||
ImGui.TableNextColumn();
|
||||
ImGui.TextUnformatted($"{evt->Unk29}");
|
||||
ImGui.TextUnformatted($"{evt->State.UnkFlags1}");
|
||||
ImGui.TableNextColumn();
|
||||
Gui.ClickToCopyText($"{(nint)evt->Target:X}");
|
||||
ImGui.TableNextColumn();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue