WarpTypeDataMapSwitch
in package
implements
WarpTypeData
Data associated with warpType value WarpType::MAPSWITCH
Table of Contents
Interfaces
- WarpTypeData
- Data associated with different values of the `warpType` field.
Properties
- $mapRid : array<string|int, int>
- $byteSize : int
- $mapFileSize : int
Methods
- __toString() : string
- Returns a string representation of the object.
- deserialize() : WarpTypeDataMapSwitch
- Deserializes an instance of `WarpTypeDataMapSwitch` from the provided `EoReader`.
- getByteSize() : int
- Returns the size of the data that this was deserialized from.
- getMapFileSize() : int
- getMapRid() : array<string|int, int>
- serialize() : void
- Serializes an instance of `WarpTypeDataMapSwitch` to the provided `EoWriter`.
- setByteSize() : void
- Sets the size of the data that this was deserialized from.
- setMapFileSize() : void
- setMapRid() : void
Properties
$mapRid
public
array<string|int, int>
$mapRid
= []
$byteSize
private
int
$byteSize
= 0
$mapFileSize
private
int
$mapFileSize
Methods
__toString()
Returns a string representation of the object.
public
__toString() : string
Return values
stringdeserialize()
Deserializes an instance of `WarpTypeDataMapSwitch` from the provided `EoReader`.
public
static deserialize(EoReader $reader) : WarpTypeDataMapSwitch
Parameters
- $reader : EoReader
-
The reader that the data will be deserialized from.
Return values
WarpTypeDataMapSwitch —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.
getMapFileSize()
public
getMapFileSize() : int
Return values
intgetMapRid()
public
getMapRid() : array<string|int, int>
Return values
array<string|int, int>serialize()
Serializes an instance of `WarpTypeDataMapSwitch` to the provided `EoWriter`.
public
static serialize(EoWriter $writer, WarpTypeDataMapSwitch $data) : void
Parameters
- $writer : EoWriter
-
The writer that the data will be serialized to.
- $data : WarpTypeDataMapSwitch
-
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.
setMapFileSize()
public
setMapFileSize(int $mapFileSize) : void
Parameters
- $mapFileSize : int
setMapRid()
public
setMapRid(array<string|int, int> $mapRid) : void
Parameters
- $mapRid : array<string|int, int>