23 lines
788 B
C#
23 lines
788 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.
|
|
//
|
|
// Only Glow is rendered. Color3, GradientColourSet and GradientAnimationStyle
|
|
// are parsed but unused — the animated gradient lives entirely inside Honorific
|
|
// and is not exposed over IPC, so reproducing it here would mean shipping our
|
|
// own copy of Honorific's colour palette. 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
|
|
);
|