Class AutoTranslatePayload
An SeString Payload containing an auto-translation/completion chat message.
Assembly: Dalamud.dll
View Source
public class AutoTranslatePayload : Payload, ITextProvider
Inheritance: System.Object
-> Dalamud.Game.Text.SeStringHandling.Payload
Implements:
Dalamud.Game.Text.SeStringHandling.ITextProvider
Properties
Group
Gets the autotranslate group.
View Source
[JsonProperty("group")]
public uint Group { get; }
Key
Gets the autotranslate key.
View Source
[JsonProperty("key")]
public uint Key { get; }
Type
Gets the type of this payload.
View Source
public override PayloadType Type { get; }
Text
Gets the actual text displayed in-game for this payload.
View Source
public string Text { get; }
Methods
ToString()
Returns a string that represents the current object.
View Source
public override string ToString()
Returns
System.String
: A string that represents the current object.### EncodeImpl()
Encodes the internal state of this payload into a byte[] suitable for sending to in-game
handlers such as the chat log.
View Source
protected override byte[] EncodeImpl()
Returns
System.Byte[]
: Encoded binary payload data suitable for use with in-game handlers.### DecodeImpl(BinaryReader, long)
Decodes a byte stream from the game into a payload object.
View Source
protected override void DecodeImpl(BinaryReader reader, long endOfStream)
Parameters
Type | Name | Description |
---|---|---|
System.IO.BinaryReader | reader | A BinaryReader containing at least all the data for this payload. |
System.Int64 | endOfStream | The location holding the end of the data for this payload. |