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,55 @@
using System;
namespace RynthCore.App;
internal sealed class LaunchAccountProfile
{
public string Id { get; set; } = Guid.NewGuid().ToString("N");
public string AccountName { get; set; } = string.Empty;
public string Password { get; set; } = string.Empty;
public string CharacterName { get; set; } = string.Empty;
public string Alias { get; set; } = string.Empty;
public string ServerId { get; set; } = string.Empty;
public string DisplayName
{
get
{
string launchLabel = !string.IsNullOrWhiteSpace(CharacterName)
? CharacterName
: Alias;
return string.IsNullOrWhiteSpace(launchLabel)
? AccountName
: $"{launchLabel} ({AccountName})";
}
}
public LaunchAccountProfile Clone()
{
return new LaunchAccountProfile
{
Id = Id,
AccountName = AccountName,
Password = Password,
CharacterName = CharacterName,
Alias = Alias,
ServerId = ServerId
};
}
public void CopyFrom(LaunchAccountProfile source)
{
Id = source.Id;
AccountName = source.AccountName;
Password = source.Password;
CharacterName = source.CharacterName;
Alias = source.Alias;
ServerId = source.ServerId;
}
public override string ToString()
{
return DisplayName;
}
}