Documentation

ShopRecord
in package

Table of Contents

Properties

$crafts  : array<string|int, ShopCraftRecord>
$trades  : array<string|int, ShopTradeRecord>
$behaviorId  : int
$byteSize  : int
$classRequirement  : int
$craftsCount  : int
$maxLevel  : int
$minLevel  : int
$name  : string
$nameLength  : int
$tradesCount  : int

Methods

__toString()  : string
Returns a string representation of the object.
deserialize()  : ShopRecord
Deserializes an instance of `ShopRecord` from the provided `EoReader`.
getBehaviorId()  : int
getByteSize()  : int
Returns the size of the data that this was deserialized from.
getClassRequirement()  : int
getCrafts()  : array<string|int, ShopCraftRecord>
getCraftsCount()  : int
getMaxLevel()  : int
getMinLevel()  : int
getName()  : string
getNameLength()  : int
getTrades()  : array<string|int, ShopTradeRecord>
getTradesCount()  : int
serialize()  : void
Serializes an instance of `ShopRecord` to the provided `EoWriter`.
setBehaviorId()  : void
setByteSize()  : void
Sets the size of the data that this was deserialized from.
setClassRequirement()  : void
setCrafts()  : void
setCraftsCount()  : void
setMaxLevel()  : void
setMinLevel()  : void
setName()  : void
setNameLength()  : void
setTrades()  : void
setTradesCount()  : void

Properties

Methods

__toString()

Returns a string representation of the object.

public __toString() : string
Return values
string

deserialize()

Deserializes an instance of `ShopRecord` from the provided `EoReader`.

public static deserialize(EoReader $reader) : ShopRecord
Parameters
$reader : EoReader

The reader that the data will be deserialized from.

Return values
ShopRecord

The deserialized data.

getBehaviorId()

public getBehaviorId() : int
Return values
int

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.

getClassRequirement()

public getClassRequirement() : int
Return values
int

getCraftsCount()

public getCraftsCount() : int
Return values
int

getMaxLevel()

public getMaxLevel() : int
Return values
int

getMinLevel()

public getMinLevel() : int
Return values
int

getName()

public getName() : string
Return values
string

getNameLength()

public getNameLength() : int
Return values
int

getTradesCount()

public getTradesCount() : int
Return values
int

serialize()

Serializes an instance of `ShopRecord` to the provided `EoWriter`.

public static serialize(EoWriter $writer, ShopRecord $data) : void
Parameters
$writer : EoWriter

The writer that the data will be serialized to.

$data : ShopRecord

The data to serialize.

setBehaviorId()

public setBehaviorId(int $behaviorId) : void
Parameters
$behaviorId : int

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.

setClassRequirement()

public setClassRequirement(int $classRequirement) : void
Parameters
$classRequirement : int

setCraftsCount()

public setCraftsCount(int $craftsCount) : void
Parameters
$craftsCount : int

setMaxLevel()

public setMaxLevel(int $maxLevel) : void
Parameters
$maxLevel : int

setMinLevel()

public setMinLevel(int $minLevel) : void
Parameters
$minLevel : int

setName()

public setName(string $name) : void
Parameters
$name : string

setNameLength()

public setNameLength(int $nameLength) : void
Parameters
$nameLength : int

setTradesCount()

public setTradesCount(int $tradesCount) : void
Parameters
$tradesCount : int

        
On this page

Search results