payload constructors for user-created payloads

This commit is contained in:
meli 2020-04-22 08:51:24 -07:00
parent 5416c4bc7e
commit 2d5fdd3c4c
10 changed files with 119 additions and 26 deletions

View file

@ -40,6 +40,13 @@ namespace Dalamud.Game.Chat.SeStringHandling.Payloads
private ushort colorKey;
internal UIGlowPayload() { }
public UIGlowPayload(ushort colorKey)
{
this.colorKey = colorKey;
}
public override string ToString()
{
return $"{Type} - UIColor: {colorKey}";