CharacterMapInfo
in package
Table of Contents
Properties
- $byteSize : int
- $classId : int
- $coords : BigCoords
- $direction : int
- $equipment : EquipmentMapInfo
- $gender : int
- $guildTag : string
- $hairColor : int
- $hairStyle : int
- $hp : int
- $invisible : bool
- $level : int
- $mapId : int
- $maxHp : int
- $maxTp : int
- $name : string
- $playerId : int
- $sitState : int
- $skin : int
- $tp : int
- $warpEffect : int
Methods
- __toString() : string
- Returns a string representation of the object.
- deserialize() : CharacterMapInfo
- Deserializes an instance of `CharacterMapInfo` from the provided `EoReader`.
- getByteSize() : int
- Returns the size of the data that this was deserialized from.
- getClassId() : int
- getCoords() : BigCoords
- getDirection() : int
- getEquipment() : EquipmentMapInfo
- getGender() : int
- getGuildTag() : string
- getHairColor() : int
- getHairStyle() : int
- getHp() : int
- getInvisible() : bool
- getLevel() : int
- getMapId() : int
- getMaxHp() : int
- getMaxTp() : int
- getName() : string
- getPlayerId() : int
- getSitState() : int
- getSkin() : int
- getTp() : int
- getWarpEffect() : int
- serialize() : void
- Serializes an instance of `CharacterMapInfo` to the provided `EoWriter`.
- setByteSize() : void
- Sets the size of the data that this was deserialized from.
- setClassId() : void
- setCoords() : void
- setDirection() : void
- setEquipment() : void
- setGender() : void
- setGuildTag() : void
- setHairColor() : void
- setHairStyle() : void
- setHp() : void
- setInvisible() : void
- setLevel() : void
- setMapId() : void
- setMaxHp() : void
- setMaxTp() : void
- setName() : void
- setPlayerId() : void
- setSitState() : void
- setSkin() : void
- setTp() : void
- setWarpEffect() : void
Properties
$byteSize
private
int
$byteSize
= 0
$classId
private
int
$classId
$coords
private
BigCoords
$coords
$direction
private
int
$direction
$equipment
private
EquipmentMapInfo
$equipment
$gender
private
int
$gender
$guildTag
private
string
$guildTag
= ""
$hairColor
private
int
$hairColor
$hairStyle
private
int
$hairStyle
$hp
private
int
$hp
$invisible
private
bool
$invisible
$level
private
int
$level
$mapId
private
int
$mapId
$maxHp
private
int
$maxHp
$maxTp
private
int
$maxTp
$name
private
string
$name
= ""
$playerId
private
int
$playerId
$sitState
private
int
$sitState
$skin
private
int
$skin
$tp
private
int
$tp
$warpEffect
private
int
$warpEffect
Methods
__toString()
Returns a string representation of the object.
public
__toString() : string
Return values
stringdeserialize()
Deserializes an instance of `CharacterMapInfo` from the provided `EoReader`.
public
static deserialize(EoReader $reader) : CharacterMapInfo
Parameters
- $reader : EoReader
-
The reader that the data will be deserialized from.
Return values
CharacterMapInfo —The deserialized data.
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.
getClassId()
public
getClassId() : int
Return values
intgetCoords()
public
getCoords() : BigCoords
Return values
BigCoordsgetDirection()
public
getDirection() : int
Return values
intgetEquipment()
public
getEquipment() : EquipmentMapInfo
Return values
EquipmentMapInfogetGender()
public
getGender() : int
Return values
intgetGuildTag()
public
getGuildTag() : string
Return values
stringgetHairColor()
public
getHairColor() : int
Return values
intgetHairStyle()
public
getHairStyle() : int
Return values
intgetHp()
public
getHp() : int
Return values
intgetInvisible()
public
getInvisible() : bool
Return values
boolgetLevel()
public
getLevel() : int
Return values
intgetMapId()
public
getMapId() : int
Return values
intgetMaxHp()
public
getMaxHp() : int
Return values
intgetMaxTp()
public
getMaxTp() : int
Return values
intgetName()
public
getName() : string
Return values
stringgetPlayerId()
public
getPlayerId() : int
Return values
intgetSitState()
public
getSitState() : int
Return values
intgetSkin()
public
getSkin() : int
Return values
intgetTp()
public
getTp() : int
Return values
intgetWarpEffect()
public
getWarpEffect() : int
Return values
intserialize()
Serializes an instance of `CharacterMapInfo` to the provided `EoWriter`.
public
static serialize(EoWriter $writer, CharacterMapInfo $data) : void
Parameters
- $writer : EoWriter
-
The writer that the data will be serialized to.
- $data : CharacterMapInfo
-
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.
setClassId()
public
setClassId(int $classId) : void
Parameters
- $classId : int
setCoords()
public
setCoords(BigCoords $coords) : void
Parameters
- $coords : BigCoords
setDirection()
public
setDirection(int $direction) : void
Parameters
- $direction : int
setEquipment()
public
setEquipment(EquipmentMapInfo $equipment) : void
Parameters
- $equipment : EquipmentMapInfo
setGender()
public
setGender(int $gender) : void
Parameters
- $gender : int
setGuildTag()
public
setGuildTag(string $guildTag) : void
Parameters
- $guildTag : string
setHairColor()
public
setHairColor(int $hairColor) : void
Parameters
- $hairColor : int
setHairStyle()
public
setHairStyle(int $hairStyle) : void
Parameters
- $hairStyle : int
setHp()
public
setHp(int $hp) : void
Parameters
- $hp : int
setInvisible()
public
setInvisible(bool $invisible) : void
Parameters
- $invisible : bool
setLevel()
public
setLevel(int $level) : void
Parameters
- $level : int
setMapId()
public
setMapId(int $mapId) : void
Parameters
- $mapId : int
setMaxHp()
public
setMaxHp(int $maxHp) : void
Parameters
- $maxHp : int
setMaxTp()
public
setMaxTp(int $maxTp) : void
Parameters
- $maxTp : int
setName()
public
setName(string $name) : void
Parameters
- $name : string
setPlayerId()
public
setPlayerId(int $playerId) : void
Parameters
- $playerId : int
setSitState()
public
setSitState(int $sitState) : void
Parameters
- $sitState : int
setSkin()
public
setSkin(int $skin) : void
Parameters
- $skin : int
setTp()
public
setTp(int $tp) : void
Parameters
- $tp : int
setWarpEffect()
public
setWarpEffect(int $warpEffect) : void
Parameters
- $warpEffect : int