Skip to main content

Class NewLinePayload

A wrapped newline character.

Assembly: Dalamud.dll
View Source
Declaration
public class NewLinePayload : Payload, ITextProvider

Inheritance: System.Object -> Dalamud.Game.Text.SeStringHandling.Payload

Implements:
Dalamud.Game.Text.SeStringHandling.ITextProvider

Properties

Payload

Gets an instance of NewLinePayload.

View Source
Declaration
public static NewLinePayload Payload { get; }

Text

Gets the text of this payload, evaluates to Environment.NewLine.

View Source
Declaration
public string Text { get; }

Type

Gets the type of this payload.

View Source
Declaration
public override PayloadType Type { get; }

Methods

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
Declaration
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
Declaration
protected override void DecodeImpl(BinaryReader reader, long endOfStream)
Parameters
TypeNameDescription
System.IO.BinaryReaderreaderA BinaryReader containing at least all the data for this payload.
System.Int64endOfStreamThe location holding the end of the data for this payload.

Implements