StatSkillAddClientPacket
in package
Spending a stat point on a stat or skill
Table of Contents
Properties
- $actionType : int
- $actionTypeData : ActionTypeData|null
- $byteSize : int
Methods
- __toString() : string
- Returns a string representation of the object.
- action() : int
- Returns the packet action associated with this packet.
- deserialize() : StatSkillAddClientPacket
- Deserializes an instance of `StatSkillAddClientPacket` from the provided `EoReader`.
- family() : int
- Returns the packet family associated with this packet.
- getActionType() : int
- getActionTypeData() : ActionTypeData|null
- getByteSize() : int
- Returns the size of the data that this was deserialized from.
- serialize() : void
- Serializes an instance of `StatSkillAddClientPacket` to the provided `EoWriter`.
- setActionType() : void
- setActionTypeData() : void
- setByteSize() : void
- Sets the size of the data that this was deserialized from.
- write() : void
- Serializes and writes this packet to the provided EoWriter.
Properties
$actionType
private
int
$actionType
$actionTypeData
private
ActionTypeData|null
$actionTypeData
= null
$byteSize
private
int
$byteSize
= 0
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 `StatSkillAddClientPacket` from the provided `EoReader`.
public
static deserialize(EoReader $reader) : StatSkillAddClientPacket
Parameters
- $reader : EoReader
-
The reader that the data will be deserialized from.
Return values
StatSkillAddClientPacket —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.
getActionType()
public
getActionType() : int
Return values
intgetActionTypeData()
public
getActionTypeData() : ActionTypeData|null
Return values
ActionTypeData|nullgetByteSize()
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.
serialize()
Serializes an instance of `StatSkillAddClientPacket` to the provided `EoWriter`.
public
static serialize(EoWriter $writer, StatSkillAddClientPacket $data) : void
Parameters
- $writer : EoWriter
-
The writer that the data will be serialized to.
- $data : StatSkillAddClientPacket
-
The data to serialize.
setActionType()
public
setActionType(int $actionType) : void
Parameters
- $actionType : int
setActionTypeData()
public
setActionTypeData(ActionTypeData|null $actionTypeData) : void
Parameters
- $actionTypeData : ActionTypeData|null
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.
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.