CharacterCreateClientPacket
    
            
            in package
            
        
    
    
    
Confirm creating a character
Table of Contents
Properties
- $byteSize : int
 - $gender : int
 - $hairColor : int
 - $hairStyle : int
 - $name : string
 - $sessionId : int
 - $skin : int
 
Methods
- __toString() : string
 - Returns a string representation of the object.
 - action() : int
 - Returns the packet action associated with this packet.
 - deserialize() : CharacterCreateClientPacket
 - Deserializes an instance of `CharacterCreateClientPacket` 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.
 - getGender() : int
 - getHairColor() : int
 - getHairStyle() : int
 - getName() : string
 - getSessionId() : int
 - getSkin() : int
 - serialize() : void
 - Serializes an instance of `CharacterCreateClientPacket` to the provided `EoWriter`.
 - setByteSize() : void
 - Sets the size of the data that this was deserialized from.
 - setGender() : void
 - setHairColor() : void
 - setHairStyle() : void
 - setName() : void
 - setSessionId() : void
 - setSkin() : void
 - write() : void
 - Serializes and writes this packet to the provided EoWriter.
 
Properties
$byteSize
    private
        int
    $byteSize
     = 0
    
    
    
$gender
    private
        int
    $gender
    
    
    
    
$hairColor
    private
        int
    $hairColor
    
    
    
    
$hairStyle
    private
        int
    $hairStyle
    
    
    
    
$name
    private
        string
    $name
     = ""
    
    
    
$sessionId
    private
        int
    $sessionId
    
    
    
    
$skin
    private
        int
    $skin
    
    
    
    
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 `CharacterCreateClientPacket` from the provided `EoReader`.
    public
            static        deserialize(EoReader $reader) : CharacterCreateClientPacket
    Parameters
- $reader : EoReader
 - 
                    
The reader that the data will be deserialized from.
 
Return values
CharacterCreateClientPacket —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.
getGender()
    public
                    getGender() : int
    Return values
intgetHairColor()
    public
                    getHairColor() : int
    Return values
intgetHairStyle()
    public
                    getHairStyle() : int
    Return values
intgetName()
    public
                    getName() : string
    Return values
stringgetSessionId()
    public
                    getSessionId() : int
    Return values
intgetSkin()
    public
                    getSkin() : int
    Return values
intserialize()
Serializes an instance of `CharacterCreateClientPacket` to the provided `EoWriter`.
    public
            static        serialize(EoWriter $writer, CharacterCreateClientPacket $data) : void
    Parameters
- $writer : EoWriter
 - 
                    
The writer that the data will be serialized to.
 - $data : CharacterCreateClientPacket
 - 
                    
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.
 
setGender()
    public
                    setGender(int $gender) : void
    Parameters
- $gender : int
 
setHairColor()
    public
                    setHairColor(int $hairColor) : void
    Parameters
- $hairColor : int
 
setHairStyle()
    public
                    setHairStyle(int $hairStyle) : void
    Parameters
- $hairStyle : int
 
setName()
    public
                    setName(string $name) : void
    Parameters
- $name : string
 
setSessionId()
    public
                    setSessionId(int $sessionId) : void
    Parameters
- $sessionId : int
 
setSkin()
    public
                    setSkin(int $skin) : void
    Parameters
- $skin : 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.