RynthCore as of 2026-09-05 (internal f9abab9)
A snapshot of the working tree for aelrynth.com/git/: the code, build files and public docs. Internal review notes and agent instructions are left out. MIT licensed; see LICENSE. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
commit
68c301dac8
277 changed files with 86286 additions and 0 deletions
21
src/RynthCore.PluginSdk/RynthCore.PluginSdk.csproj
Normal file
21
src/RynthCore.PluginSdk/RynthCore.PluginSdk.csproj
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net10.0-windows</TargetFramework>
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
<Nullable>enable</Nullable>
|
||||
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
|
||||
<PackageId>RynthCore.PluginSdk</PackageId>
|
||||
<Version>0.2.0</Version>
|
||||
<Authors>RynthCore</Authors>
|
||||
<Company>RynthCore</Company>
|
||||
<Description>Managed plugin SDK for RynthCore's native plugin ABI with validated helper and action surfaces.</Description>
|
||||
<PackageTags>rynthcore;plugin;sdk;asherons-call</PackageTags>
|
||||
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
|
||||
<RepositoryType>git</RepositoryType>
|
||||
<RepositoryUrl>https://example.invalid/RynthCore</RepositoryUrl>
|
||||
<RootNamespace>RynthCore.PluginSdk</RootNamespace>
|
||||
<AssemblyName>RynthCore.PluginSdk</AssemblyName>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
||||
122
src/RynthCore.PluginSdk/RynthCoreApiNative.cs
Normal file
122
src/RynthCore.PluginSdk/RynthCoreApiNative.cs
Normal file
|
|
@ -0,0 +1,122 @@
|
|||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace RynthCore.PluginSdk;
|
||||
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public struct RynthCoreApiNative
|
||||
{
|
||||
public uint Version;
|
||||
public IntPtr ImGuiContext;
|
||||
public IntPtr D3DDevice;
|
||||
public IntPtr GameHwnd;
|
||||
public IntPtr LogFn;
|
||||
public IntPtr ProbeClientHooksFn;
|
||||
public IntPtr GetClientHookFlagsFn;
|
||||
public IntPtr ChangeCombatModeFn;
|
||||
public IntPtr CancelAttackFn;
|
||||
public IntPtr QueryHealthFn;
|
||||
public IntPtr MeleeAttackFn;
|
||||
public IntPtr MissileAttackFn;
|
||||
public IntPtr DoMovementFn;
|
||||
public IntPtr StopMovementFn;
|
||||
public IntPtr JumpNonAutonomousFn;
|
||||
public IntPtr SetAutonomyLevelFn;
|
||||
public IntPtr SetAutoRunFn;
|
||||
public IntPtr TapJumpFn;
|
||||
public IntPtr SetIncomingChatSuppressionFn;
|
||||
public IntPtr SelectItemFn;
|
||||
public IntPtr SetSelectedObjectIdFn;
|
||||
public IntPtr GetSelectedItemIdFn;
|
||||
public IntPtr GetPreviousSelectedItemIdFn;
|
||||
public IntPtr GetPlayerIdFn;
|
||||
public IntPtr GetGroundContainerIdFn;
|
||||
public IntPtr GetNumContainedItemsFn;
|
||||
public IntPtr GetNumContainedContainersFn;
|
||||
public IntPtr GetCurCoordsFn;
|
||||
public IntPtr UseObjectFn;
|
||||
public IntPtr UseObjectOnFn;
|
||||
public IntPtr UseEquippedItemFn;
|
||||
public IntPtr MoveItemExternalFn;
|
||||
public IntPtr MoveItemInternalFn;
|
||||
public IntPtr WriteToChatFn;
|
||||
public IntPtr GetPlayerPoseFn;
|
||||
public IntPtr IsPortalingFn;
|
||||
public IntPtr SetMotionFn;
|
||||
public IntPtr StopCompletelyFn;
|
||||
public IntPtr TurnToHeadingFn;
|
||||
public IntPtr GetPlayerHeadingFn;
|
||||
public IntPtr GetObjectNameFn;
|
||||
public IntPtr GetPlayerVitalsFn;
|
||||
public IntPtr GetObjectPositionFn;
|
||||
public IntPtr RequestIdFn;
|
||||
public IntPtr GetTargetVitalsFn;
|
||||
public IntPtr CastSpellFn;
|
||||
public IntPtr GetItemTypeFn;
|
||||
public IntPtr GetObjectIntPropertyFn;
|
||||
public IntPtr GetObjectBoolPropertyFn;
|
||||
public IntPtr ObjectIsAttackableFn;
|
||||
public IntPtr GetObjectSkillFn;
|
||||
public IntPtr IsSpellKnownFn;
|
||||
public IntPtr ReadPlayerEnchantmentsFn;
|
||||
public IntPtr GetServerTimeFn;
|
||||
public IntPtr ReadObjectEnchantmentsFn;
|
||||
public IntPtr WorldToScreenFn;
|
||||
public IntPtr GetViewportSizeFn;
|
||||
public IntPtr Nav3DClearFn;
|
||||
public IntPtr Nav3DAddRingFn;
|
||||
public IntPtr Nav3DAddLineFn;
|
||||
public IntPtr InvokeChatParserFn;
|
||||
public IntPtr GetObjectDoublePropertyFn;
|
||||
public IntPtr GetObjectQuadPropertyFn;
|
||||
public IntPtr GetObjectAttribute2ndBaseLevelFn;
|
||||
public IntPtr GetPlayerBaseVitalsFn;
|
||||
public IntPtr GetObjectStringPropertyFn;
|
||||
public IntPtr GetObjectWielderInfoFn;
|
||||
public IntPtr NativeAttackFn;
|
||||
public IntPtr IsPlayerReadyFn;
|
||||
public IntPtr SetFpsLimitFn;
|
||||
public IntPtr GetContainerContentsFn;
|
||||
public IntPtr GetObjectOwnershipInfoFn;
|
||||
public IntPtr SplitStackInternalFn;
|
||||
public IntPtr MergeStackInternalFn;
|
||||
public IntPtr GetCurrentCombatModeFn;
|
||||
public IntPtr SalvagePanelOpenFn;
|
||||
public IntPtr SalvagePanelAddItemFn;
|
||||
public IntPtr SalvagePanelExecuteFn;
|
||||
public IntPtr GetVitaeFn;
|
||||
public IntPtr GetAccountNameFn;
|
||||
public IntPtr GetWorldNameFn;
|
||||
public IntPtr GetObjectWcidFn;
|
||||
public IntPtr HasAppraisalDataFn;
|
||||
public IntPtr GetLastIdTimeFn;
|
||||
public IntPtr GetObjectHeadingFn;
|
||||
public IntPtr GetBusyStateFn;
|
||||
public IntPtr GetObjectSpellIdsFn;
|
||||
public IntPtr GetObjectSkillBuffedFn;
|
||||
public IntPtr GetObjectAttributeFn;
|
||||
public IntPtr GetObjectMotionOnFn;
|
||||
public IntPtr GetObjectStateFn;
|
||||
public IntPtr GetObjectBitfieldFn;
|
||||
public IntPtr ForceResetBusyCountFn;
|
||||
public IntPtr GetObjectPalettesFn;
|
||||
public IntPtr CommenceJumpFn;
|
||||
public IntPtr DoJumpFn;
|
||||
public IntPtr LaunchJumpWithMotionFn;
|
||||
public IntPtr GetRadarRectFn;
|
||||
public IntPtr SetRadarSuppressedFn;
|
||||
public IntPtr SetChatSuppressedFn;
|
||||
public IntPtr SetPowerbarSuppressedFn;
|
||||
public IntPtr GetCastBusyStateFn;
|
||||
public IntPtr ReadKnownSpellsFn;
|
||||
public IntPtr Nav3DAddTriangleFn;
|
||||
public IntPtr Nav3DAddRingExFn;
|
||||
// APPEND-AT-END (ABI): must mirror PluginContract.RynthCoreAPI order exactly. v62+.
|
||||
public IntPtr GiveObjectToFn;
|
||||
public IntPtr GetUseDoneSeqFn; // v63: monotonic count of inbound server UseDone (0x1C7)
|
||||
public IntPtr GetEngineStatusJsonFn; // v64: engine-side status fields as ANSI JSON (excludes bot)
|
||||
public IntPtr GetPluginSnapshotJsonFn; // v64: broker a named plugin's RynthPluginGetSnapshotJson
|
||||
public IntPtr SendPluginCommandFn; // v64: forward (action,value) to a named plugin's command export
|
||||
public IntPtr GetObjectDataIdPropertyFn; // v65: read a PWD DataID property (Icon=8 → _iconID) for inventory icons
|
||||
public IntPtr GetPluginExportJsonFn; // v66: broker any RynthPluginGet*Json export on a named plugin
|
||||
}
|
||||
1449
src/RynthCore.PluginSdk/RynthCoreHost.cs
Normal file
1449
src/RynthCore.PluginSdk/RynthCoreHost.cs
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue