mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
Handle static declares in AddonLifecycleWidget (#1720)
* Handle static declares old way: <https://learn.microsoft.com/en-us/dotnet/api/system.delegate.target?view=net-8.0#property-value> new way: <https://learn.microsoft.com/en-us/dotnet/api/system.reflection.memberinfo.declaringtype?view=net-8.0#property-value> * get full name instead of class name
This commit is contained in:
parent
4c18f77f51
commit
3f4a91b726
1 changed files with 1 additions and 1 deletions
|
|
@ -90,7 +90,7 @@ public class AddonLifecycleWidget : IDataWindowWidget
|
|||
ImGui.Text(listener.AddonName is "" ? "GLOBAL" : listener.AddonName);
|
||||
|
||||
ImGui.TableNextColumn();
|
||||
ImGui.Text($"{listener.FunctionDelegate.Target}::{listener.FunctionDelegate.Method.Name}");
|
||||
ImGui.Text($"{listener.FunctionDelegate.Method.DeclaringType.FullName}::{listener.FunctionDelegate.Method.Name}");
|
||||
}
|
||||
|
||||
ImGui.EndTable();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue