Initial commit

A modern .NET 9 NativeAOT framework for Asheron's Call client modding.
Self-contained injection system that hooks D3D9 EndScene to render an
ImGui overlay inside the AC client process.
This commit is contained in:
tombohar 2026-04-10 18:38:07 -04:00
commit 80b71d295d
179 changed files with 52858 additions and 0 deletions

View file

@ -0,0 +1,38 @@
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);
}
}
}