QuestAcceptClientPacket
    
            
            in package
            
        
    
    
    
Response to a quest NPC dialog
Table of Contents
Properties
- $byteSize : int
 - $dialogId : int
 - $npcIndex : int
 - $questId : int
 - $replyType : int
 - $replyTypeData : ReplyTypeData|null
 - $sessionId : int
 
Methods
- __toString() : string
 - Returns a string representation of the object.
 - action() : int
 - Returns the packet action associated with this packet.
 - deserialize() : QuestAcceptClientPacket
 - Deserializes an instance of `QuestAcceptClientPacket` from the provided `EoReader`.
 - family() : int
 - Returns the packet family associated with this packet.
 - getByteSize() : int
 - Returns the size of the data that this was deserialized from.
 - getDialogId() : int
 - getNpcIndex() : int
 - getQuestId() : int
 - getReplyType() : int
 - getReplyTypeData() : ReplyTypeData|null
 - getSessionId() : int
 - serialize() : void
 - Serializes an instance of `QuestAcceptClientPacket` to the provided `EoWriter`.
 - setByteSize() : void
 - Sets the size of the data that this was deserialized from.
 - setDialogId() : void
 - setNpcIndex() : void
 - setQuestId() : void
 - setReplyType() : void
 - setReplyTypeData() : void
 - setSessionId() : void
 - write() : void
 - Serializes and writes this packet to the provided EoWriter.
 
Properties
$byteSize
    private
        int
    $byteSize
     = 0
    
    
    
$dialogId
    private
        int
    $dialogId
    
    
    
    
$npcIndex
    private
        int
    $npcIndex
    
    
    
    
$questId
    private
        int
    $questId
    
    
    
    
$replyType
    private
        int
    $replyType
    
    
    
    
$replyTypeData
    private
        ReplyTypeData|null
    $replyTypeData
     = null
    
    
    
$sessionId
    private
        int
    $sessionId
    
    
    
    
Methods
__toString()
Returns a string representation of the object.
    public
                    __toString() : string
    Return values
stringaction()
Returns the packet action associated with this packet.
    public
            static        action() : int
    Return values
int —The packet action associated with this packet.
deserialize()
Deserializes an instance of `QuestAcceptClientPacket` from the provided `EoReader`.
    public
            static        deserialize(EoReader $reader) : QuestAcceptClientPacket
    Parameters
- $reader : EoReader
 - 
                    
The reader that the data will be deserialized from.
 
Return values
QuestAcceptClientPacket —The deserialized data.
family()
Returns the packet family associated with this packet.
    public
            static        family() : int
    Return values
int —The packet family associated with this packet.
getByteSize()
Returns the size of the data that this was deserialized from.
    public
                    getByteSize() : int
    Return values
int —The size of the data that this was deserialized from.
getDialogId()
    public
                    getDialogId() : int
    Return values
intgetNpcIndex()
    public
                    getNpcIndex() : int
    Return values
intgetQuestId()
    public
                    getQuestId() : int
    Return values
intgetReplyType()
    public
                    getReplyType() : int
    Return values
intgetReplyTypeData()
    public
                    getReplyTypeData() : ReplyTypeData|null
    Return values
ReplyTypeData|nullgetSessionId()
    public
                    getSessionId() : int
    Return values
intserialize()
Serializes an instance of `QuestAcceptClientPacket` to the provided `EoWriter`.
    public
            static        serialize(EoWriter $writer, QuestAcceptClientPacket $data) : void
    Parameters
- $writer : EoWriter
 - 
                    
The writer that the data will be serialized to.
 - $data : QuestAcceptClientPacket
 - 
                    
The data to serialize.
 
setByteSize()
Sets the size of the data that this was deserialized from.
    public
                    setByteSize(int $byteSize) : void
    Parameters
- $byteSize : int
 - 
                    
The size of the data that this was deserialized from.
 
setDialogId()
    public
                    setDialogId(int $dialogId) : void
    Parameters
- $dialogId : int
 
setNpcIndex()
    public
                    setNpcIndex(int $npcIndex) : void
    Parameters
- $npcIndex : int
 
setQuestId()
    public
                    setQuestId(int $questId) : void
    Parameters
- $questId : int
 
setReplyType()
    public
                    setReplyType(int $replyType) : void
    Parameters
- $replyType : int
 
setReplyTypeData()
    public
                    setReplyTypeData(ReplyTypeData|null $replyTypeData) : void
    Parameters
- $replyTypeData : ReplyTypeData|null
 
setSessionId()
    public
                    setSessionId(int $sessionId) : void
    Parameters
- $sessionId : int
 
write()
Serializes and writes this packet to the provided EoWriter.
    public
                    write(EoWriter $writer) : void
    Parameters
- $writer : EoWriter
 - 
                    
The writer that this packet will be written to.