AdminInteractTellServerPacket
in package
Admin character info lookup
Table of Contents
Properties
- $byteSize : int
- $exp : int
- $level : int
- $mapCoords : BigCoords
- $mapId : int
- $name : string
- $stats : CharacterStatsInfoLookup
- $usage : int
- $weight : Weight
Methods
- __toString() : string
- Returns a string representation of the object.
- action() : int
- Returns the packet action associated with this packet.
- deserialize() : AdminInteractTellServerPacket
- Deserializes an instance of `AdminInteractTellServerPacket` 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.
- getExp() : int
- getLevel() : int
- getMapCoords() : BigCoords
- getMapId() : int
- getName() : string
- getStats() : CharacterStatsInfoLookup
- getUsage() : int
- getWeight() : Weight
- serialize() : void
- Serializes an instance of `AdminInteractTellServerPacket` to the provided `EoWriter`.
- setByteSize() : void
- Sets the size of the data that this was deserialized from.
- setExp() : void
- setLevel() : void
- setMapCoords() : void
- setMapId() : void
- setName() : void
- setStats() : void
- setUsage() : void
- setWeight() : void
- write() : void
- Serializes and writes this packet to the provided EoWriter.
Properties
$byteSize
private
int
$byteSize
= 0
$exp
private
int
$exp
$level
private
int
$level
$mapCoords
private
BigCoords
$mapCoords
$mapId
private
int
$mapId
$name
private
string
$name
= ""
$stats
private
CharacterStatsInfoLookup
$stats
$usage
private
int
$usage
$weight
private
Weight
$weight
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 `AdminInteractTellServerPacket` from the provided `EoReader`.
public
static deserialize(EoReader $reader) : AdminInteractTellServerPacket
Parameters
- $reader : EoReader
-
The reader that the data will be deserialized from.
Return values
AdminInteractTellServerPacket —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.
getExp()
public
getExp() : int
Return values
intgetLevel()
public
getLevel() : int
Return values
intgetMapCoords()
public
getMapCoords() : BigCoords
Return values
BigCoordsgetMapId()
public
getMapId() : int
Return values
intgetName()
public
getName() : string
Return values
stringgetStats()
public
getStats() : CharacterStatsInfoLookup
Return values
CharacterStatsInfoLookupgetUsage()
public
getUsage() : int
Return values
intgetWeight()
public
getWeight() : Weight
Return values
Weightserialize()
Serializes an instance of `AdminInteractTellServerPacket` to the provided `EoWriter`.
public
static serialize(EoWriter $writer, AdminInteractTellServerPacket $data) : void
Parameters
- $writer : EoWriter
-
The writer that the data will be serialized to.
- $data : AdminInteractTellServerPacket
-
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.
setExp()
public
setExp(int $exp) : void
Parameters
- $exp : int
setLevel()
public
setLevel(int $level) : void
Parameters
- $level : int
setMapCoords()
public
setMapCoords(BigCoords $mapCoords) : void
Parameters
- $mapCoords : BigCoords
setMapId()
public
setMapId(int $mapId) : void
Parameters
- $mapId : int
setName()
public
setName(string $name) : void
Parameters
- $name : string
setStats()
public
setStats(CharacterStatsInfoLookup $stats) : void
Parameters
- $stats : CharacterStatsInfoLookup
setUsage()
public
setUsage(int $usage) : void
Parameters
- $usage : int
setWeight()
public
setWeight(Weight $weight) : void
Parameters
- $weight : Weight
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.