AccountCreateClientPacket
in package
Confirm creating an account
Table of Contents
Properties
- $byteSize : int
- $computer : string
- $email : string
- $fullName : string
- $hdid : string
- $location : string
- $password : string
- $sessionId : int
- $username : string
Methods
- __toString() : string
- Returns a string representation of the object.
- action() : int
- Returns the packet action associated with this packet.
- deserialize() : AccountCreateClientPacket
- Deserializes an instance of `AccountCreateClientPacket` 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.
- getComputer() : string
- getEmail() : string
- getFullName() : string
- getHdid() : string
- getLocation() : string
- getPassword() : string
- getSessionId() : int
- getUsername() : string
- serialize() : void
- Serializes an instance of `AccountCreateClientPacket` to the provided `EoWriter`.
- setByteSize() : void
- Sets the size of the data that this was deserialized from.
- setComputer() : void
- setEmail() : void
- setFullName() : void
- setHdid() : void
- setLocation() : void
- setPassword() : void
- setSessionId() : void
- setUsername() : void
- write() : void
- Serializes and writes this packet to the provided EoWriter.
Properties
$byteSize
private
int
$byteSize
= 0
$computer
private
string
$computer
= ""
private
string
$email
= ""
$fullName
private
string
$fullName
= ""
$hdid
private
string
$hdid
= ""
$location
private
string
$location
= ""
$password
private
string
$password
= ""
$sessionId
private
int
$sessionId
$username
private
string
$username
= ""
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 `AccountCreateClientPacket` from the provided `EoReader`.
public
static deserialize(EoReader $reader) : AccountCreateClientPacket
Parameters
- $reader : EoReader
-
The reader that the data will be deserialized from.
Return values
AccountCreateClientPacket —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.
getComputer()
public
getComputer() : string
Return values
stringgetEmail()
public
getEmail() : string
Return values
stringgetFullName()
public
getFullName() : string
Return values
stringgetHdid()
public
getHdid() : string
Return values
stringgetLocation()
public
getLocation() : string
Return values
stringgetPassword()
public
getPassword() : string
Return values
stringgetSessionId()
public
getSessionId() : int
Return values
intgetUsername()
public
getUsername() : string
Return values
stringserialize()
Serializes an instance of `AccountCreateClientPacket` to the provided `EoWriter`.
public
static serialize(EoWriter $writer, AccountCreateClientPacket $data) : void
Parameters
- $writer : EoWriter
-
The writer that the data will be serialized to.
- $data : AccountCreateClientPacket
-
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.
setComputer()
public
setComputer(string $computer) : void
Parameters
- $computer : string
setEmail()
public
setEmail(string $email) : void
Parameters
- $email : string
setFullName()
public
setFullName(string $fullName) : void
Parameters
- $fullName : string
setHdid()
public
setHdid(string $hdid) : void
Parameters
- $hdid : string
setLocation()
public
setLocation(string $location) : void
Parameters
- $location : string
setPassword()
public
setPassword(string $password) : void
Parameters
- $password : string
setSessionId()
public
setSessionId(int $sessionId) : void
Parameters
- $sessionId : int
setUsername()
public
setUsername(string $username) : void
Parameters
- $username : string
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.