Simple data holder class representing a stat entry for rich text UI, it stores a PlayerStat and a StatFormat and exposes them via properties, and has a constructor to set them.
public class RichTextStatEntry
{
public PlayerStat Stat { get; set; }
public StatFormat Format { get; set; }
public RichTextStatEntry( PlayerStat stat, StatFormat format )
{
Stat = stat;
Format = format;
}
}