BTTV emote support part 1 & keep Input focus option

This commit is contained in:
Infi
2024-05-08 00:04:07 +02:00
parent 8709c35ff1
commit 4210d634ab
11 changed files with 409 additions and 62 deletions
+22
View File
@@ -85,3 +85,25 @@ internal class UriPayload(Uri uri) : Payload
throw new NotImplementedException();
}
}
internal class EmotePayload : Payload
{
public override PayloadType Type => (PayloadType) 0x53;
public string Code;
public static EmotePayload ResolveEmote(string code)
{
return new EmotePayload { Code = code };
}
protected override void DecodeImpl(BinaryReader reader, long endOfStream)
{
throw new NotImplementedException();
}
protected override byte[] EncodeImpl()
{
throw new NotImplementedException();
}
}