mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-21 15:27:43 +01:00
payload constructors for user-created payloads
This commit is contained in:
parent
5416c4bc7e
commit
2d5fdd3c4c
10 changed files with 119 additions and 26 deletions
|
|
@ -27,6 +27,16 @@ namespace Dalamud.Game.Chat.SeStringHandling.Payloads
|
|||
private uint group;
|
||||
private uint key;
|
||||
|
||||
internal AutoTranslatePayload() { }
|
||||
|
||||
public AutoTranslatePayload(uint group, uint key)
|
||||
{
|
||||
this.group = group;
|
||||
this.key = key;
|
||||
}
|
||||
|
||||
// TODO: friendlier ctor? not sure how to handle that given how weird the tables are
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return $"{Type} - Group: {group}, Key: {key}";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue