RynthCore/Plugins/RynthAi/DecalInspector.cs
BlankenshipG cbd18a6880 feat: port SK test branch (2026.10.18.24) onto sk
Squash of test/hotbuild-2026-10-16 as merged onto aelrynth main 2026.10.17.1, matching the
2026.10.18.24 test installer. The test branch wins where both changed the same lines; sk-only
changes kept; duplicate definitions from both sides cut to the test branch's copy.

Highlights: Aelrynth Vault in the Classic and Modern inventory, loot "Add to loot profile"
attribute checklist, graphics low-memory safeguard and settings panel, window placement and
borderless fixes, chat coordinate links, launcher DXVK toggle, installer stamps experimental
plugins with the release calver. Changelog/2026-10-18-sk-port-test-branch-2026.10.18.24.md.
2026-10-18 16:22:34 -04:00

38 lines
1.1 KiB
C#

using System;
using System.Reflection;
using Decal.Adapter;
using Decal.Adapter.Wrappers;
namespace NexSuite.Plugins.RynthAi
{
public static class DecalInspector
{
public static void DumpType(Type t, CoreManager core)
{
core.Actions.AddChatText("====== " + t.FullName + " ======", 3);
core.Actions.AddChatText("-- PROPERTIES --", 3);
foreach (var p in t.GetProperties())
{
core.Actions.AddChatText(p.PropertyType.Name + " " + p.Name, 3);
}
core.Actions.AddChatText("-- METHODS --", 3);
foreach (var m in t.GetMethods())
{
core.Actions.AddChatText(m.ReturnType.Name + " " + m.Name, 3);
}
}
public static void DumpDecalAPI(CoreManager core)
{
DumpType(typeof(WorldObject), core);
DumpType(typeof(CharacterFilter), core);
DumpType(typeof(CoreManager), core);
// These are the important ones for navigation
DumpType(typeof(HooksWrapper), core);
DumpType(typeof(WorldFilter), core);
}
}
}