feat: SK engine work through 2026-10-13 on 2026.10.13.3
Plugin API v86 after rynth's v84 GetObjectProperties: v85 confirmation answers (ArmConfirmation, GetLastConfirmation), v86 GetServerStateJson. - One plugin per server, server verdicts, per-character overrides and a server picker; skipped server plugins are listed and load when forced On. - Mini Remote sections and the sections rail; Session Stats; Char menu Fellowship and quests; known-server picker in the launcher. - Items damage-type colors, one Progression Attributes section, environment-hit throttle and per-monster attack power settings. - Security review fixes (SafeImGui, chat-origin checks, StatusAgent 1.0.1). See Changelog/2026-10-14-sk-engine-work-through-10-13.md.
This commit is contained in:
parent
67574b56e6
commit
e3222805cb
113 changed files with 6207 additions and 759 deletions
|
|
@ -922,6 +922,28 @@ internal struct RynthCoreAPI
|
|||
/// Off AC's main thread a walk of the object's qualities tables is requested for the next tick
|
||||
/// (flag QualitiesPending): ask again a moment later for the full set. Any thread. Requires API v84+.</summary>
|
||||
public IntPtr GetObjectPropertiesFn;
|
||||
|
||||
/// <summary>v85: <c>int ArmConfirmation(uint type, int minPercent, int timeoutMs)</c>: answer
|
||||
/// the next server yes/no prompt (ConfirmationRequest 0x0274) of this type within timeoutMs,
|
||||
/// without the client opening its dialog: Yes when the server's "N percent" is at least
|
||||
/// minPercent (or minPercent is 0), else No. One-shot. timeoutMs <= 0 disarms.
|
||||
/// 1 armed/disarmed, 0 sender or game-event hook unavailable, -3 bad arguments
|
||||
/// (type 0, minPercent outside 0-100, timeout over 120 s). Any thread. Requires API v85+.</summary>
|
||||
public IntPtr ArmConfirmationFn;
|
||||
|
||||
/// <summary>v85: <c>int GetLastConfirmation(uint* type, uint* contextId, int* percent, int* outcome, int* ageMs)</c>:
|
||||
/// the last prompt the server sent: returns its sequence number (0 = none yet); percent -1
|
||||
/// when the text has none; outcome 1 shown to the player, 2 answered Yes, 3 answered No,
|
||||
/// 4 the send failed (shown). Any out pointer may be null. Any thread. Requires API v85+.</summary>
|
||||
public IntPtr GetLastConfirmationFn;
|
||||
|
||||
/// <summary>v86: <c>int GetServerStateJson(byte* buffer, int capacity)</c>: which server this is,
|
||||
/// for every plugin: each server the engine knows (built in, or declared by a loaded plugin)
|
||||
/// with its verdict, this character's override, why, and the plugin that owns its settings;
|
||||
/// plus the active server and the Diagnostics pick (UI/Sections/ServerStateJson.cs has the
|
||||
/// schema). Copies NUL-terminated UTF-8 JSON when it fits and returns its byte length either
|
||||
/// way (length >= capacity: call again with a bigger buffer). Any thread. Requires API v86+.</summary>
|
||||
public IntPtr GetServerStateJsonFn;
|
||||
}
|
||||
|
||||
/// <summary>v79 <see cref="TrainingInfoNative.Flags"/> bits.</summary>
|
||||
|
|
@ -1717,6 +1739,12 @@ internal unsafe delegate int GetVendorTradeStatusCallbackDelegate(VendorTradeSta
|
|||
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
||||
internal unsafe delegate int GetMergeStackResultCallbackDelegate(uint sourceObjectId, uint targetObjectId, int* amount, int* ageMs);
|
||||
|
||||
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
||||
internal delegate int ArmConfirmationCallbackDelegate(uint type, int minPercent, int timeoutMs);
|
||||
|
||||
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
||||
internal unsafe delegate int GetLastConfirmationCallbackDelegate(uint* type, uint* contextId, int* percent, int* outcome, int* ageMs);
|
||||
|
||||
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
||||
internal unsafe delegate int GetVTankStateCallbackDelegate(int* sequence);
|
||||
|
||||
|
|
@ -1726,6 +1754,9 @@ internal unsafe delegate int GetCharacterTitlesCallbackDelegate(uint* ids, int m
|
|||
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
||||
internal unsafe delegate int GetServerInfoCallbackDelegate(byte* worldName, int capacity);
|
||||
|
||||
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
||||
internal unsafe delegate int GetServerStateJsonCallbackDelegate(byte* buffer, int capacity);
|
||||
|
||||
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
||||
internal delegate int CloseContainerCallbackDelegate(uint containerId);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue