AvatarChange
in package
Table of Contents
Properties
- $byteSize : int
- $changeType : int
- $changeTypeData : ChangeTypeData|null
- $playerId : int
- $sound : bool
Methods
- __toString() : string
- Returns a string representation of the object.
- deserialize() : AvatarChange
- Deserializes an instance of `AvatarChange` from the provided `EoReader`.
- getByteSize() : int
- Returns the size of the data that this was deserialized from.
- getChangeType() : int
- getChangeTypeData() : ChangeTypeData|null
- getPlayerId() : int
- getSound() : bool
- serialize() : void
- Serializes an instance of `AvatarChange` to the provided `EoWriter`.
- setByteSize() : void
- Sets the size of the data that this was deserialized from.
- setChangeType() : void
- setChangeTypeData() : void
- setPlayerId() : void
- setSound() : void
Properties
$byteSize
private
int
$byteSize
= 0
$changeType
private
int
$changeType
$changeTypeData
private
ChangeTypeData|null
$changeTypeData
= null
$playerId
private
int
$playerId
$sound
private
bool
$sound
Methods
__toString()
Returns a string representation of the object.
public
__toString() : string
Return values
stringdeserialize()
Deserializes an instance of `AvatarChange` from the provided `EoReader`.
public
static deserialize(EoReader $reader) : AvatarChange
Parameters
- $reader : EoReader
-
The reader that the data will be deserialized from.
Return values
AvatarChange —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.
getChangeType()
public
getChangeType() : int
Return values
intgetChangeTypeData()
public
getChangeTypeData() : ChangeTypeData|null
Return values
ChangeTypeData|nullgetPlayerId()
public
getPlayerId() : int
Return values
intgetSound()
public
getSound() : bool
Return values
boolserialize()
Serializes an instance of `AvatarChange` to the provided `EoWriter`.
public
static serialize(EoWriter $writer, AvatarChange $data) : void
Parameters
- $writer : EoWriter
-
The writer that the data will be serialized to.
- $data : AvatarChange
-
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.
setChangeType()
public
setChangeType(int $changeType) : void
Parameters
- $changeType : int
setChangeTypeData()
public
setChangeTypeData(ChangeTypeData|null $changeTypeData) : void
Parameters
- $changeTypeData : ChangeTypeData|null
setPlayerId()
public
setPlayerId(int $playerId) : void
Parameters
- $playerId : int
setSound()
public
setSound(bool $sound) : void
Parameters
- $sound : bool