Class EmphasisItalicPayload
An SeString Payload containing information about enabling or disabling italics formatting on following text.
Inherited Members
Namespace: Dalamud.Game.Text.SeStringHandling.Payloads
Assembly: Dalamud.dll
Syntax
public class EmphasisItalicPayload : Payload
Remarks
As with other formatting payloads, this is only useful in a payload block, where it affects any subsequent text payloads.
Constructors
| Improve this Doc View SourceEmphasisItalicPayload(Boolean)
Initializes a new instance of the EmphasisItalicPayload class. Creates an EmphasisItalicPayload.
Declaration
public EmphasisItalicPayload(bool enabled)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Boolean | enabled | Whether italics formatting should be enabled or disabled for following text. |
Properties
| Improve this Doc View SourceIsEnabled
Gets a value indicating whether this payload enables italics formatting for following text.
Declaration
public bool IsEnabled { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
ItalicsOff
Gets a payload representing disabling italics on following text.
Declaration
public static EmphasisItalicPayload ItalicsOff { get; }
Property Value
| Type | Description |
|---|---|
| EmphasisItalicPayload |
ItalicsOn
Gets a payload representing enabling italics on following text.
Declaration
public static EmphasisItalicPayload ItalicsOn { get; }
Property Value
| Type | Description |
|---|---|
| EmphasisItalicPayload |
Type
Gets the type of this payload.
Declaration
public override PayloadType Type { get; }
Property Value
| Type | Description |
|---|---|
| PayloadType |
Overrides
Methods
| Improve this Doc View SourceDecodeImpl(BinaryReader, Int64)
Decodes a byte stream from the game into a payload object.
Declaration
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. |
Overrides
| Improve this Doc View SourceEncodeImpl()
Encodes the internal state of this payload into a byte[] suitable for sending to in-game handlers such as the chat log.
Declaration
protected override byte[] EncodeImpl()
Returns
| Type | Description |
|---|---|
| System.Byte[] | Encoded binary payload data suitable for use with in-game handlers. |
Overrides
| Improve this Doc View SourceToString()
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| System.String |