Documentation

WelcomeCodeDataEnterGame
in package
implements WelcomeCodeData

Data associated with welcomeCode value WelcomeCode::ENTERGAME

Table of Contents

Interfaces

WelcomeCodeData
Data associated with different values of the `welcomeCode` field.

Properties

$items  : array<string|int, Item>
$news  : array<string|int, string>
$spells  : array<string|int, Spell>
$byteSize  : int
$nearby  : NearbyInfo
$weight  : Weight

Methods

__toString()  : string
Returns a string representation of the object.
deserialize()  : WelcomeCodeDataEnterGame
Deserializes an instance of `WelcomeCodeDataEnterGame` from the provided `EoReader`.
getByteSize()  : int
Returns the size of the data that this was deserialized from.
getItems()  : array<string|int, Item>
getNearby()  : NearbyInfo
getNews()  : array<string|int, string>
getSpells()  : array<string|int, Spell>
getWeight()  : Weight
serialize()  : void
Serializes an instance of `WelcomeCodeDataEnterGame` to the provided `EoWriter`.
setByteSize()  : void
Sets the size of the data that this was deserialized from.
setItems()  : void
setNearby()  : void
setNews()  : void
setSpells()  : void
setWeight()  : 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.

setNews()

public setNews(array<string|int, string> $news) : void
Parameters
$news : array<string|int, string>

        
On this page

Search results