Table of Contents

Class DialogEntry

Namespace
Moffat.EndlessOnline.SDK.Protocol.Net.Server
Assembly
Moffat.EndlessOnline.SDK.dll

An entry in a quest dialog

[Generated]
public class DialogEntry : ISerializable
Inheritance
DialogEntry
Implements
Inherited Members

Constructors

DialogEntry()

public DialogEntry()

Properties

ByteSize

Gets the size of the data that this object was deserialized from, or 0 for an object that was not deserialized.

public int ByteSize { get; }

Property Value

int

EntryType

public DialogEntryType EntryType { get; set; }

Property Value

DialogEntryType

EntryTypeData

public DialogEntry.IEntryTypeData EntryTypeData { get; set; }

Property Value

DialogEntry.IEntryTypeData

Line

public string Line { get; set; }

Property Value

string

Methods

Deserialize(EoReader)

Deserialize the EO binary data representation of this object from an EoReader.

public void Deserialize(EoReader reader)

Parameters

reader EoReader

The reader from which this object should be read.

Equals(object)

public override bool Equals(object other)

Parameters

other object

Returns

bool

Creates a new DialogEntry with EntryType set to Link and EntryTypeData set to data.

public static DialogEntry ForLink(DialogEntry.EntryTypeDataLink data)

Parameters

data DialogEntry.EntryTypeDataLink

The data for the case.

Returns

DialogEntry

The new DialogEntry.

Exceptions

ArgumentNullException

Thrown when data is null.

ForText()

Creates a new DialogEntry with EntryType set to Text.

public static DialogEntry ForText()

Returns

DialogEntry

The new DialogEntry.

GetHashCode()

public override int GetHashCode()

Returns

int

Serialize(EoWriter)

Serialize this object to an EoWriter in the EO binary data representation.

public void Serialize(EoWriter writer)

Parameters

writer EoWriter

The writer to which this object should be written.

ToString()

public override string ToString()

Returns

string