22 lines
740 B
C#
22 lines
740 B
C#
using System.Numerics;
|
|
|
|
namespace HellionChat.Integrations;
|
|
|
|
// Local DTO mirroring Honorific's TitleData — no hard reference to Honorific.dll
|
|
// so HellionChat loads cleanly when Honorific is absent.
|
|
//
|
|
// Color is rendered in the header title slot (HonorificHeader). Glow, Color3,
|
|
// GradientColourSet and GradientAnimationStyle are parsed but not rendered —
|
|
// the animated gradient lives inside Honorific and is not exposed over IPC.
|
|
// The fields stay in the DTO so the JSON roundtrip remains lossless.
|
|
internal sealed record HonorificTitleData(
|
|
string? Title,
|
|
bool IsPrefix,
|
|
bool IsOriginal,
|
|
Vector3? Color,
|
|
Vector3? Glow,
|
|
Vector3? Color3,
|
|
int? GradientColourSet,
|
|
string? GradientAnimationStyle
|
|
);
|