Class TextPayload
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Dalamud.Game.Chat.SeStringHandling.Payloads
Assembly: Dalamud.dll
Syntax
public class TextPayload : Payload
Constructors
| Improve this Doc View SourceTextPayload()
Declaration
public TextPayload()
TextPayload(String)
Declaration
public TextPayload(string text)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | text |
Properties
| Improve this Doc View SourceRawData
The raw unconverted data of this text payload.
Declaration
public byte[] RawData { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Byte[] |
Text
The Text of this text payload as an UTF-8 converted string. Don't rely on this for accurate representation of SE payload data, please check RawData instead.
Declaration
public string Text { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Type
Declaration
public override PayloadType Type { get; }
Property Value
| Type | Description |
|---|---|
| PayloadType |
Overrides
Methods
| Improve this Doc View SourceEncode()
Declaration
public override byte[] Encode()
Returns
| Type | Description |
|---|---|
| System.Byte[] |
Overrides
| Improve this Doc View SourceProcessChunkImpl(BinaryReader, Int64)
Declaration
protected override void ProcessChunkImpl(BinaryReader reader, long endOfStream)
Parameters
| Type | Name | Description |
|---|---|---|
| System.IO.BinaryReader | reader | |
| System.Int64 | endOfStream |
Overrides
| Improve this Doc View SourceResolve()
Declaration
public override void Resolve()
Overrides
| Improve this Doc View SourceToString()
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| System.String |
Overrides
System.Object.ToString()