RynthCore/src/RynthCore.App/InjectionMode.cs

30 lines
1.4 KiB
C#

namespace RynthCore.App;
/// <summary>
/// Per-account choice of which modding stack to inject when launching the AC
/// client. Selected from the launcher's per-row Injection Method dropdown.
/// </summary>
internal enum InjectionMode
{
/// <summary>RynthCore.Loader.dll → RynthCore.Engine.dll injected via the
/// in-process injector. The native RynthCore stack.</summary>
RynthCore = 0,
/// <summary>Decal's Inject.dll injected with its DecalStartup export. The
/// account runs against Decal + UBService + VTank or whatever Decal plugins
/// the user has registered.</summary>
Decal = 1,
/// <summary>Decal first, then RynthCore in the same client ("Decal + RynthCore"). The
/// engine takes chat from Decal through the RynthCore Decal bridge, which the launcher
/// registers for this Windows user before the launch (DecalBridgeRegistration;
/// docs/DECAL_BRIDGE_PLAN.md).</summary>
DecalBridge = 2,
/// <summary>No acclient.exe: the launcher starts rynth-headless.exe (our own headless client,
/// src\RynthCore.Headless.Cli) for the account, with the x64 plugins set in
/// AppSettings.HeadlessPluginPaths (HeadlessLaunch). Experimental, ACE servers only.
/// appsettings.json lists such an account as RynthCore; headless-accounts.json says which
/// are really Headless (HeadlessAccountModes).</summary>
Headless = 3,
}