Class EmphasisItalicPayload
An SeString Payload containing information about enabling or disabling italics formatting on following text.
Remarks​
As with other formatting payloads, this is only useful in a payload block, where it affects any subsequent text payloads.
Assembly: Dalamud.dll​
public class EmphasisItalicPayload : Payload
Inheritance: System.Object -> Dalamud.Game.Text.SeStringHandling.Payload
Properties​
ItalicsOn​
Gets a payload representing enabling italics on following text.
public static EmphasisItalicPayload ItalicsOn { get; }
ItalicsOff​
Gets a payload representing disabling italics on following text.
public static EmphasisItalicPayload ItalicsOff { get; }
IsEnabled​
Gets a value indicating whether this payload enables italics formatting for following text.
public bool IsEnabled { get; }
Type​
Gets the type of this payload.
public override PayloadType Type { get; }
Methods​
ToString()​
public override string ToString()
Returns​
System.String
EncodeImpl()​
Encodes the internal state of this payload into a byte[] suitable for sending to in-game handlers such as the chat log.
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.
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. |