SitActionDataSit
in package
implements
SitActionData
Data associated with sitAction value SitAction::SIT
Table of Contents
Interfaces
- SitActionData
- Data associated with different values of the `sitAction` field.
Properties
- $byteSize : int
- $cursorCoords : Coords
Methods
- __toString() : string
- Returns a string representation of the object.
- deserialize() : SitActionDataSit
- Deserializes an instance of `SitActionDataSit` from the provided `EoReader`.
- getByteSize() : int
- Returns the size of the data that this was deserialized from.
- getCursorCoords() : Coords
- serialize() : void
- Serializes an instance of `SitActionDataSit` to the provided `EoWriter`.
- setByteSize() : void
- Sets the size of the data that this was deserialized from.
- setCursorCoords() : void
Properties
$byteSize
private
int
$byteSize
= 0
$cursorCoords
private
Coords
$cursorCoords
Methods
__toString()
Returns a string representation of the object.
public
__toString() : string
Return values
stringdeserialize()
Deserializes an instance of `SitActionDataSit` from the provided `EoReader`.
public
static deserialize(EoReader $reader) : SitActionDataSit
Parameters
- $reader : EoReader
-
The reader that the data will be deserialized from.
Return values
SitActionDataSit —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.
getCursorCoords()
public
getCursorCoords() : Coords
Return values
Coordsserialize()
Serializes an instance of `SitActionDataSit` to the provided `EoWriter`.
public
static serialize(EoWriter $writer, SitActionDataSit $data) : void
Parameters
- $writer : EoWriter
-
The writer that the data will be serialized to.
- $data : SitActionDataSit
-
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.
setCursorCoords()
public
setCursorCoords(Coords $cursorCoords) : void
Parameters
- $cursorCoords : Coords