Documentation

BanTypeData0
in package
implements BanTypeData

Data associated with banType value 0

The official client treats any value below 2 as a temporary ban. The official server sends 1, but some game server implementations erroneously send 0.

Table of Contents

Interfaces

BanTypeData
Data associated with different values of the `banType` field.

Properties

$byteSize  : int
$minutesRemaining  : int

Methods

__toString()  : string
Returns a string representation of the object.
deserialize()  : BanTypeData0
Deserializes an instance of `BanTypeData0` from the provided `EoReader`.
getByteSize()  : int
Returns the size of the data that this was deserialized from.
getMinutesRemaining()  : int
serialize()  : void
Serializes an instance of `BanTypeData0` to the provided `EoWriter`.
setByteSize()  : void
Sets the size of the data that this was deserialized from.
setMinutesRemaining()  : void

Properties

Methods

__toString()

Returns a string representation of the object.

public __toString() : string
Return values
string

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.

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.

setMinutesRemaining()

public setMinutesRemaining(int $minutesRemaining) : void
Parameters
$minutesRemaining : int

        
On this page

Search results