Class QuestAcceptClientPacket
Response to a quest NPC dialog
[Generated]
public class QuestAcceptClientPacket : IPacket, ISerializable
- Inheritance
-
QuestAcceptClientPacket
- Implements
- Inherited Members
Constructors
QuestAcceptClientPacket()
public QuestAcceptClientPacket()
Properties
Action
Gets the packet action associated with this packet
public PacketAction Action { get; }
Property Value
BehaviorId
public int BehaviorId { get; set; }
Property Value
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
DialogId
public int DialogId { get; set; }
Property Value
Family
Gets the packet family associated with this packet
public PacketFamily Family { get; }
Property Value
QuestId
public int QuestId { get; set; }
Property Value
ReplyType
public DialogReply ReplyType { get; set; }
Property Value
ReplyTypeData
public QuestAcceptClientPacket.IReplyTypeData ReplyTypeData { get; set; }
Property Value
SessionId
public int SessionId { get; set; }
Property Value
Methods
Deserialize(EoReader)
Deserialize the EO binary data representation of this object from an EoReader.
public void Deserialize(EoReader reader)
Parameters
readerEoReaderThe reader from which this object should be read.
Equals(object)
public override bool Equals(object other)
Parameters
otherobject
Returns
ForLink(ReplyTypeDataLink)
Creates a new QuestAcceptClientPacket with ReplyType set to Link and ReplyTypeData set to data.
public static QuestAcceptClientPacket ForLink(QuestAcceptClientPacket.ReplyTypeDataLink data)
Parameters
dataQuestAcceptClientPacket.ReplyTypeDataLinkThe data for the case.
Returns
Exceptions
- ArgumentNullException
Thrown when
datais null.
ForOk()
Creates a new QuestAcceptClientPacket with ReplyType set to Ok and ReplyTypeData set to a new QuestAcceptClientPacket.ReplyTypeDataOk.
public static QuestAcceptClientPacket ForOk()
Returns
GetHashCode()
public override int GetHashCode()
Returns
Serialize(EoWriter)
Serialize this object to an EoWriter in the EO binary data representation.
public void Serialize(EoWriter writer)
Parameters
writerEoWriterThe writer to which this object should be written.
ToString()
public override string ToString()