ServerSettings
in package
Table of Contents
Properties
- $byteSize : int
- $gameMasterFloodRate : int
- $guardianFloodRate : int
- $highGameMasterFloodRate : int
- $jailMap : int
- $rescueCoords : Coords
- $rescueMap : int
- $spyAndLightGuideFloodRate : int
Methods
- __toString() : string
- Returns a string representation of the object.
- deserialize() : ServerSettings
- Deserializes an instance of `ServerSettings` from the provided `EoReader`.
- getByteSize() : int
- Returns the size of the data that this was deserialized from.
- getGameMasterFloodRate() : int
- getGuardianFloodRate() : int
- getHighGameMasterFloodRate() : int
- getJailMap() : int
- getRescueCoords() : Coords
- getRescueMap() : int
- getSpyAndLightGuideFloodRate() : int
- serialize() : void
- Serializes an instance of `ServerSettings` to the provided `EoWriter`.
- setByteSize() : void
- Sets the size of the data that this was deserialized from.
- setGameMasterFloodRate() : void
- setGuardianFloodRate() : void
- setHighGameMasterFloodRate() : void
- setJailMap() : void
- setRescueCoords() : void
- setRescueMap() : void
- setSpyAndLightGuideFloodRate() : void
Properties
$byteSize
private
int
$byteSize
= 0
$gameMasterFloodRate
private
int
$gameMasterFloodRate
$guardianFloodRate
private
int
$guardianFloodRate
$highGameMasterFloodRate
private
int
$highGameMasterFloodRate
$jailMap
private
int
$jailMap
$rescueCoords
private
Coords
$rescueCoords
$rescueMap
private
int
$rescueMap
$spyAndLightGuideFloodRate
private
int
$spyAndLightGuideFloodRate
Methods
__toString()
Returns a string representation of the object.
public
__toString() : string
Return values
stringdeserialize()
Deserializes an instance of `ServerSettings` from the provided `EoReader`.
public
static deserialize(EoReader $reader) : ServerSettings
Parameters
- $reader : EoReader
-
The reader that the data will be deserialized from.
Return values
ServerSettings —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.
getGameMasterFloodRate()
public
getGameMasterFloodRate() : int
Return values
intgetGuardianFloodRate()
public
getGuardianFloodRate() : int
Return values
intgetHighGameMasterFloodRate()
public
getHighGameMasterFloodRate() : int
Return values
intgetJailMap()
public
getJailMap() : int
Return values
intgetRescueCoords()
public
getRescueCoords() : Coords
Return values
CoordsgetRescueMap()
public
getRescueMap() : int
Return values
intgetSpyAndLightGuideFloodRate()
public
getSpyAndLightGuideFloodRate() : int
Return values
intserialize()
Serializes an instance of `ServerSettings` to the provided `EoWriter`.
public
static serialize(EoWriter $writer, ServerSettings $data) : void
Parameters
- $writer : EoWriter
-
The writer that the data will be serialized to.
- $data : ServerSettings
-
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.
setGameMasterFloodRate()
public
setGameMasterFloodRate(int $gameMasterFloodRate) : void
Parameters
- $gameMasterFloodRate : int
setGuardianFloodRate()
public
setGuardianFloodRate(int $guardianFloodRate) : void
Parameters
- $guardianFloodRate : int
setHighGameMasterFloodRate()
public
setHighGameMasterFloodRate(int $highGameMasterFloodRate) : void
Parameters
- $highGameMasterFloodRate : int
setJailMap()
public
setJailMap(int $jailMap) : void
Parameters
- $jailMap : int
setRescueCoords()
public
setRescueCoords(Coords $rescueCoords) : void
Parameters
- $rescueCoords : Coords
setRescueMap()
public
setRescueMap(int $rescueMap) : void
Parameters
- $rescueMap : int
setSpyAndLightGuideFloodRate()
public
setSpyAndLightGuideFloodRate(int $spyAndLightGuideFloodRate) : void
Parameters
- $spyAndLightGuideFloodRate : int