PocketMine-MP 5.18.1 git-9381fc4172e5dce4cada1cb356050c8a2ab57b94
pocketmine\network\mcpe\protocol\types\LevelSettings Class Reference
+ Collaboration diagram for pocketmine\network\mcpe\protocol\types\LevelSettings:

Public Member Functions

 write (PacketSerializer $out)
 

Static Public Member Functions

static read (PacketSerializer $in)
 

Public Attributes

int $chatRestrictionLevel = ChatRestrictionLevel::NONE
 
bool $commandsEnabled
 
bool $createdInEditorMode = false
 
int $defaultPlayerPermission = PlayerPermissions::MEMBER
 
int $difficulty
 
bool $disableCustomSkins = false
 
bool $disablePersona = false
 
bool $disablePlayerInteractions = false
 
int $editorWorldType = EditorWorldType::NON_EDITOR
 
int $eduEditionOffer = EducationEditionOffer::NONE
 
string $eduProductUUID = ""
 
EducationUriResource $eduSharedUriResource = null
 
bool $experimentalGameplayOverride = null
 
Experiments $experiments
 
bool $exportedFromEditorMode = false
 
array $gameRules = []
 
int $generator = GeneratorType::OVERWORLD
 
bool $hardcore = false
 
bool $hasAchievementsDisabled = true
 
bool $hasBonusChestEnabled = false
 
bool $hasConfirmedPlatformLockedContent = false
 
bool $hasEduFeaturesEnabled = false
 
bool $hasLANBroadcast = true
 
bool $hasLockedBehaviorPack = false
 
bool $hasLockedResourcePack = false
 
bool $hasStartWithMapEnabled = false
 
bool $isFromLockedWorldTemplate = false
 
bool $isFromWorldTemplate = false
 
bool $isMultiplayerGame = true
 
bool $isNewNether = true
 
bool $isTexturePacksRequired = true
 
bool $isWorldTemplateOptionLocked = false
 
float $lightningLevel
 
int $limitedWorldLength = 0
 
int $limitedWorldWidth = 0
 
bool $muteEmoteAnnouncements = false
 
bool $onlySpawnV1Villagers = false
 
int $platformBroadcastMode = MultiplayerGameVisibility::PUBLIC
 
float $rainLevel
 
string $scenarioIdentifier = ""
 
int $seed
 
int $serverChunkTickRadius = 4
 
string $serverIdentifier = ""
 
BlockPosition $spawnPosition
 
SpawnSettings $spawnSettings
 
int $time = -1
 
bool $useMsaGamertagsOnly = false
 
string $vanillaVersion = ProtocolInfo::MINECRAFT_VERSION_NETWORK
 
int $worldGamemode
 
string $worldIdentifier = ""
 
int $xboxLiveBroadcastMode = MultiplayerGameVisibility::PUBLIC
 

Detailed Description

Definition at line 22 of file LevelSettings.php.

Member Function Documentation

◆ read()

static pocketmine\network\mcpe\protocol\types\LevelSettings::read ( PacketSerializer  $in)
static
Exceptions
BinaryDataException
PacketDecodeException

Definition at line 87 of file LevelSettings.php.

◆ write()

pocketmine\network\mcpe\protocol\types\LevelSettings::write ( PacketSerializer  $out)

Definition at line 153 of file LevelSettings.php.

Member Data Documentation

◆ $chatRestrictionLevel

int pocketmine\network\mcpe\protocol\types\LevelSettings::$chatRestrictionLevel = ChatRestrictionLevel::NONE

Definition at line 76 of file LevelSettings.php.

◆ $commandsEnabled

bool pocketmine\network\mcpe\protocol\types\LevelSettings::$commandsEnabled

Definition at line 46 of file LevelSettings.php.

◆ $createdInEditorMode

bool pocketmine\network\mcpe\protocol\types\LevelSettings::$createdInEditorMode = false

Definition at line 33 of file LevelSettings.php.

◆ $defaultPlayerPermission

int pocketmine\network\mcpe\protocol\types\LevelSettings::$defaultPlayerPermission = PlayerPermissions::MEMBER

Definition at line 56 of file LevelSettings.php.

◆ $difficulty

int pocketmine\network\mcpe\protocol\types\LevelSettings::$difficulty

Definition at line 29 of file LevelSettings.php.

◆ $disableCustomSkins

bool pocketmine\network\mcpe\protocol\types\LevelSettings::$disableCustomSkins = false

Definition at line 68 of file LevelSettings.php.

◆ $disablePersona

bool pocketmine\network\mcpe\protocol\types\LevelSettings::$disablePersona = false

Definition at line 67 of file LevelSettings.php.

◆ $disablePlayerInteractions

bool pocketmine\network\mcpe\protocol\types\LevelSettings::$disablePlayerInteractions = false

Definition at line 77 of file LevelSettings.php.

◆ $editorWorldType

int pocketmine\network\mcpe\protocol\types\LevelSettings::$editorWorldType = EditorWorldType::NON_EDITOR

Definition at line 32 of file LevelSettings.php.

◆ $eduEditionOffer

int pocketmine\network\mcpe\protocol\types\LevelSettings::$eduEditionOffer = EducationEditionOffer::NONE

Definition at line 36 of file LevelSettings.php.

◆ $eduProductUUID

string pocketmine\network\mcpe\protocol\types\LevelSettings::$eduProductUUID = ""

Definition at line 38 of file LevelSettings.php.

◆ $eduSharedUriResource

EducationUriResource pocketmine\network\mcpe\protocol\types\LevelSettings::$eduSharedUriResource = null

Definition at line 74 of file LevelSettings.php.

◆ $experimentalGameplayOverride

bool pocketmine\network\mcpe\protocol\types\LevelSettings::$experimentalGameplayOverride = null

Definition at line 75 of file LevelSettings.php.

◆ $experiments

Experiments pocketmine\network\mcpe\protocol\types\LevelSettings::$experiments

Definition at line 53 of file LevelSettings.php.

◆ $exportedFromEditorMode

bool pocketmine\network\mcpe\protocol\types\LevelSettings::$exportedFromEditorMode = false

Definition at line 34 of file LevelSettings.php.

◆ $gameRules

array pocketmine\network\mcpe\protocol\types\LevelSettings::$gameRules = []

Definition at line 52 of file LevelSettings.php.

◆ $generator

int pocketmine\network\mcpe\protocol\types\LevelSettings::$generator = GeneratorType::OVERWORLD

Definition at line 26 of file LevelSettings.php.

◆ $hardcore

bool pocketmine\network\mcpe\protocol\types\LevelSettings::$hardcore = false

Definition at line 28 of file LevelSettings.php.

◆ $hasAchievementsDisabled

bool pocketmine\network\mcpe\protocol\types\LevelSettings::$hasAchievementsDisabled = true

Definition at line 31 of file LevelSettings.php.

◆ $hasBonusChestEnabled

bool pocketmine\network\mcpe\protocol\types\LevelSettings::$hasBonusChestEnabled = false

Definition at line 54 of file LevelSettings.php.

◆ $hasConfirmedPlatformLockedContent

bool pocketmine\network\mcpe\protocol\types\LevelSettings::$hasConfirmedPlatformLockedContent = false

Definition at line 41 of file LevelSettings.php.

◆ $hasEduFeaturesEnabled

bool pocketmine\network\mcpe\protocol\types\LevelSettings::$hasEduFeaturesEnabled = false

Definition at line 37 of file LevelSettings.php.

◆ $hasLANBroadcast

bool pocketmine\network\mcpe\protocol\types\LevelSettings::$hasLANBroadcast = true

Definition at line 43 of file LevelSettings.php.

◆ $hasLockedBehaviorPack

bool pocketmine\network\mcpe\protocol\types\LevelSettings::$hasLockedBehaviorPack = false

Definition at line 60 of file LevelSettings.php.

◆ $hasLockedResourcePack

bool pocketmine\network\mcpe\protocol\types\LevelSettings::$hasLockedResourcePack = false

Definition at line 61 of file LevelSettings.php.

◆ $hasStartWithMapEnabled

bool pocketmine\network\mcpe\protocol\types\LevelSettings::$hasStartWithMapEnabled = false

Definition at line 55 of file LevelSettings.php.

◆ $isFromLockedWorldTemplate

bool pocketmine\network\mcpe\protocol\types\LevelSettings::$isFromLockedWorldTemplate = false

Definition at line 62 of file LevelSettings.php.

◆ $isFromWorldTemplate

bool pocketmine\network\mcpe\protocol\types\LevelSettings::$isFromWorldTemplate = false

Definition at line 64 of file LevelSettings.php.

◆ $isMultiplayerGame

bool pocketmine\network\mcpe\protocol\types\LevelSettings::$isMultiplayerGame = true

Definition at line 42 of file LevelSettings.php.

◆ $isNewNether

bool pocketmine\network\mcpe\protocol\types\LevelSettings::$isNewNether = true

Definition at line 73 of file LevelSettings.php.

◆ $isTexturePacksRequired

bool pocketmine\network\mcpe\protocol\types\LevelSettings::$isTexturePacksRequired = true

Definition at line 47 of file LevelSettings.php.

◆ $isWorldTemplateOptionLocked

bool pocketmine\network\mcpe\protocol\types\LevelSettings::$isWorldTemplateOptionLocked = false

Definition at line 65 of file LevelSettings.php.

◆ $lightningLevel

float pocketmine\network\mcpe\protocol\types\LevelSettings::$lightningLevel

Definition at line 40 of file LevelSettings.php.

◆ $limitedWorldLength

int pocketmine\network\mcpe\protocol\types\LevelSettings::$limitedWorldLength = 0

Definition at line 72 of file LevelSettings.php.

◆ $limitedWorldWidth

int pocketmine\network\mcpe\protocol\types\LevelSettings::$limitedWorldWidth = 0

Definition at line 71 of file LevelSettings.php.

◆ $muteEmoteAnnouncements

bool pocketmine\network\mcpe\protocol\types\LevelSettings::$muteEmoteAnnouncements = false

Definition at line 69 of file LevelSettings.php.

◆ $onlySpawnV1Villagers

bool pocketmine\network\mcpe\protocol\types\LevelSettings::$onlySpawnV1Villagers = false

Definition at line 66 of file LevelSettings.php.

◆ $platformBroadcastMode

int pocketmine\network\mcpe\protocol\types\LevelSettings::$platformBroadcastMode = MultiplayerGameVisibility::PUBLIC

Definition at line 45 of file LevelSettings.php.

◆ $rainLevel

float pocketmine\network\mcpe\protocol\types\LevelSettings::$rainLevel

Definition at line 39 of file LevelSettings.php.

◆ $scenarioIdentifier

string pocketmine\network\mcpe\protocol\types\LevelSettings::$scenarioIdentifier = ""

Definition at line 81 of file LevelSettings.php.

◆ $seed

int pocketmine\network\mcpe\protocol\types\LevelSettings::$seed

Definition at line 24 of file LevelSettings.php.

◆ $serverChunkTickRadius

int pocketmine\network\mcpe\protocol\types\LevelSettings::$serverChunkTickRadius = 4

Definition at line 58 of file LevelSettings.php.

◆ $serverIdentifier

string pocketmine\network\mcpe\protocol\types\LevelSettings::$serverIdentifier = ""

Definition at line 79 of file LevelSettings.php.

◆ $spawnPosition

BlockPosition pocketmine\network\mcpe\protocol\types\LevelSettings::$spawnPosition

Definition at line 30 of file LevelSettings.php.

◆ $spawnSettings

SpawnSettings pocketmine\network\mcpe\protocol\types\LevelSettings::$spawnSettings

Definition at line 25 of file LevelSettings.php.

◆ $time

int pocketmine\network\mcpe\protocol\types\LevelSettings::$time = -1

Definition at line 35 of file LevelSettings.php.

◆ $useMsaGamertagsOnly

bool pocketmine\network\mcpe\protocol\types\LevelSettings::$useMsaGamertagsOnly = false

Definition at line 63 of file LevelSettings.php.

◆ $vanillaVersion

string pocketmine\network\mcpe\protocol\types\LevelSettings::$vanillaVersion = ProtocolInfo::MINECRAFT_VERSION_NETWORK

Definition at line 70 of file LevelSettings.php.

◆ $worldGamemode

int pocketmine\network\mcpe\protocol\types\LevelSettings::$worldGamemode

Definition at line 27 of file LevelSettings.php.

◆ $worldIdentifier

string pocketmine\network\mcpe\protocol\types\LevelSettings::$worldIdentifier = ""

Definition at line 80 of file LevelSettings.php.

◆ $xboxLiveBroadcastMode

int pocketmine\network\mcpe\protocol\types\LevelSettings::$xboxLiveBroadcastMode = MultiplayerGameVisibility::PUBLIC

Definition at line 44 of file LevelSettings.php.


The documentation for this class was generated from the following file: