PartyExpShare
in package
Table of Contents
Properties
- $byteSize : int
- $experience : int
- $levelUp : int
- $playerId : int
Methods
- __toString() : string
- Returns a string representation of the object.
- deserialize() : PartyExpShare
- Deserializes an instance of `PartyExpShare` from the provided `EoReader`.
- getByteSize() : int
- Returns the size of the data that this was deserialized from.
- getExperience() : int
- getLevelUp() : int
- getPlayerId() : int
- serialize() : void
- Serializes an instance of `PartyExpShare` to the provided `EoWriter`.
- setByteSize() : void
- Sets the size of the data that this was deserialized from.
- setExperience() : void
- setLevelUp() : void
- setPlayerId() : void
Properties
$byteSize
private
int
$byteSize
= 0
$experience
private
int
$experience
$levelUp
private
int
$levelUp
$playerId
private
int
$playerId
Methods
__toString()
Returns a string representation of the object.
public
__toString() : string
Return values
stringdeserialize()
Deserializes an instance of `PartyExpShare` from the provided `EoReader`.
public
static deserialize(EoReader $reader) : PartyExpShare
Parameters
- $reader : EoReader
-
The reader that the data will be deserialized from.
Return values
PartyExpShare —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.
getExperience()
public
getExperience() : int
Return values
intgetLevelUp()
public
getLevelUp() : int
Return values
intgetPlayerId()
public
getPlayerId() : int
Return values
intserialize()
Serializes an instance of `PartyExpShare` to the provided `EoWriter`.
public
static serialize(EoWriter $writer, PartyExpShare $data) : void
Parameters
- $writer : EoWriter
-
The writer that the data will be serialized to.
- $data : PartyExpShare
-
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.
setExperience()
public
setExperience(int $experience) : void
Parameters
- $experience : int
setLevelUp()
public
setLevelUp(int $levelUp) : void
Parameters
- $levelUp : int
setPlayerId()
public
setPlayerId(int $playerId) : void
Parameters
- $playerId : int