Documentation

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

Methods

__toString()

Returns a string representation of the object.

public __toString() : string
Return values
string

deserialize()

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
int

getPlayerId()

public getPlayerId() : int
Return values
int

serialize()

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

setPlayerId()

public setPlayerId(int $playerId) : void
Parameters
$playerId : int

setSound()

public setSound(bool $sound) : void
Parameters
$sound : bool

        
On this page

Search results