InnRecord
in package
Table of Contents
Properties
- $questions : array<string|int, InnQuestionRecord>
- $alternateSpawnEnabled : bool
- $alternateSpawnMap : int
- $alternateSpawnX : int
- $alternateSpawnY : int
- $behaviorId : int
- $byteSize : int
- $name : string
- $nameLength : int
- $sleepMap : int
- $sleepX : int
- $sleepY : int
- $spawnMap : int
- $spawnX : int
- $spawnY : int
Methods
- __toString() : string
- Returns a string representation of the object.
- deserialize() : InnRecord
- Deserializes an instance of `InnRecord` from the provided `EoReader`.
- getAlternateSpawnEnabled() : bool
- getAlternateSpawnMap() : int
- getAlternateSpawnX() : int
- getAlternateSpawnY() : int
- getBehaviorId() : int
- getByteSize() : int
- Returns the size of the data that this was deserialized from.
- getName() : string
- getNameLength() : int
- getQuestions() : array<string|int, InnQuestionRecord>
- getSleepMap() : int
- getSleepX() : int
- getSleepY() : int
- getSpawnMap() : int
- getSpawnX() : int
- getSpawnY() : int
- serialize() : void
- Serializes an instance of `InnRecord` to the provided `EoWriter`.
- setAlternateSpawnEnabled() : void
- setAlternateSpawnMap() : void
- setAlternateSpawnX() : void
- setAlternateSpawnY() : void
- setBehaviorId() : void
- setByteSize() : void
- Sets the size of the data that this was deserialized from.
- setName() : void
- setNameLength() : void
- setQuestions() : void
- setSleepMap() : void
- setSleepX() : void
- setSleepY() : void
- setSpawnMap() : void
- setSpawnX() : void
- setSpawnY() : void
Properties
$questions
public
array<string|int, InnQuestionRecord>
$questions
= []
$alternateSpawnEnabled
private
bool
$alternateSpawnEnabled
$alternateSpawnMap
private
int
$alternateSpawnMap
$alternateSpawnX
private
int
$alternateSpawnX
$alternateSpawnY
private
int
$alternateSpawnY
$behaviorId
private
int
$behaviorId
$byteSize
private
int
$byteSize
= 0
$name
private
string
$name
= ""
$nameLength
private
int
$nameLength
$sleepMap
private
int
$sleepMap
$sleepX
private
int
$sleepX
$sleepY
private
int
$sleepY
$spawnMap
private
int
$spawnMap
$spawnX
private
int
$spawnX
$spawnY
private
int
$spawnY
Methods
__toString()
Returns a string representation of the object.
public
__toString() : string
Return values
stringdeserialize()
Deserializes an instance of `InnRecord` from the provided `EoReader`.
public
static deserialize(EoReader $reader) : InnRecord
Parameters
- $reader : EoReader
-
The reader that the data will be deserialized from.
Return values
InnRecord —The deserialized data.
getAlternateSpawnEnabled()
public
getAlternateSpawnEnabled() : bool
Return values
boolgetAlternateSpawnMap()
public
getAlternateSpawnMap() : int
Return values
intgetAlternateSpawnX()
public
getAlternateSpawnX() : int
Return values
intgetAlternateSpawnY()
public
getAlternateSpawnY() : int
Return values
intgetBehaviorId()
public
getBehaviorId() : int
Return values
intgetByteSize()
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.
getName()
public
getName() : string
Return values
stringgetNameLength()
public
getNameLength() : int
Return values
intgetQuestions()
public
getQuestions() : array<string|int, InnQuestionRecord>
Return values
array<string|int, InnQuestionRecord>getSleepMap()
public
getSleepMap() : int
Return values
intgetSleepX()
public
getSleepX() : int
Return values
intgetSleepY()
public
getSleepY() : int
Return values
intgetSpawnMap()
public
getSpawnMap() : int
Return values
intgetSpawnX()
public
getSpawnX() : int
Return values
intgetSpawnY()
public
getSpawnY() : int
Return values
intserialize()
Serializes an instance of `InnRecord` to the provided `EoWriter`.
public
static serialize(EoWriter $writer, InnRecord $data) : void
Parameters
setAlternateSpawnEnabled()
public
setAlternateSpawnEnabled(bool $alternateSpawnEnabled) : void
Parameters
- $alternateSpawnEnabled : bool
setAlternateSpawnMap()
public
setAlternateSpawnMap(int $alternateSpawnMap) : void
Parameters
- $alternateSpawnMap : int
setAlternateSpawnX()
public
setAlternateSpawnX(int $alternateSpawnX) : void
Parameters
- $alternateSpawnX : int
setAlternateSpawnY()
public
setAlternateSpawnY(int $alternateSpawnY) : void
Parameters
- $alternateSpawnY : int
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.
setName()
public
setName(string $name) : void
Parameters
- $name : string
setNameLength()
public
setNameLength(int $nameLength) : void
Parameters
- $nameLength : int
setQuestions()
public
setQuestions(array<string|int, InnQuestionRecord> $questions) : void
Parameters
- $questions : array<string|int, InnQuestionRecord>
setSleepMap()
public
setSleepMap(int $sleepMap) : void
Parameters
- $sleepMap : int
setSleepX()
public
setSleepX(int $sleepX) : void
Parameters
- $sleepX : int
setSleepY()
public
setSleepY(int $sleepY) : void
Parameters
- $sleepY : int
setSpawnMap()
public
setSpawnMap(int $spawnMap) : void
Parameters
- $spawnMap : int
setSpawnX()
public
setSpawnX(int $spawnX) : void
Parameters
- $spawnX : int
setSpawnY()
public
setSpawnY(int $spawnY) : void
Parameters
- $spawnY : int