soupply ~master (2018-09-02T09:28:20Z)
Dub
Repo
SetDifficulty
soupply
bedrock274
protocol
play
Undocumented in source.
class
SetDifficulty :
Bedrock274Packet
{
enum
uint
ID
;
enum
bool
CLIENTBOUND
;
enum
bool
SERVERBOUND
;
enum
uint
PEACEFUL
;
enum
uint
EASY
;
enum
uint
NORMAL
;
enum
uint
HARD
;
enum
string
[]
__fields
;
@
Var
uint
difficulty
;
this
();
this
(uint difficulty);
mixin
Make
;
static
typeof
(
this
)
fromBuffer
(ubyte[] buffer);
string
toString
();
}
Constructors
this
this
()
Undocumented in source.
this
this
(uint difficulty)
Undocumented in source.
Members
Functions
toString
string
toString
()
Undocumented in source. Be warned that the author may not have intended to support it.
Mixins
__anonymous
mixin
Make
Undocumented in source.
Static functions
fromBuffer
typeof
(
this
)
fromBuffer
(ubyte[] buffer)
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
CLIENTBOUND
enum
bool
CLIENTBOUND
;
Undocumented in source.
EASY
enum
uint
EASY
;
Undocumented in source.
HARD
enum
uint
HARD
;
Undocumented in source.
ID
enum
uint
ID
;
Undocumented in source.
NORMAL
enum
uint
NORMAL
;
Undocumented in source.
PEACEFUL
enum
uint
PEACEFUL
;
Undocumented in source.
SERVERBOUND
enum
bool
SERVERBOUND
;
Undocumented in source.
__fields
enum
string
[]
__fields
;
Undocumented in source.
difficulty
uint
difficulty
;
Undocumented in source.
Meta
Source
See Implementation
soupply
bedrock274
protocol
play
aliases
Packets
classes
AddBehaviorTree
AddEntity
AddHangingEntity
AddItemEntity
AddPainting
AddPlayer
AdventureSettings
Animate
AvailableCommands
BlockEntityData
BlockEvent
BlockPickRequest
BookEdit
BossEvent
Camera
ChangeDimension
ChunkRadiusUpdated
ClientToServerHandshake
ClientboundMapItemData
CommandBlockUpdate
CommandOutput
CommandRequest
ContainerClose
ContainerOpen
ContainerSetData
CraftingData
CraftingEvent
Disconnect
EntityEvent
EntityFall
EntityPickRequest
Event
Explode
FullChunkData
GameRulesChanged
GuiDataPickItem
HurtArmor
Interact
InventoryContent
InventorySlot
InventoryTransaction
ItemFrameDropItem
LabTable
LevelEvent
LevelSoundEvent
Login
MapInfoRequest
MobArmorEquipment
MobEffect
MobEquipment
ModalFormRequest
ModalFormResponse
MoveEntityAbsolute
MoveEntityDelta
MovePlayer
NpcRequest
PhotoTransfer
PlaySound
PlayStatus
PlayerAction
PlayerHotbar
PlayerInput
PlayerList
PlayerSkin
PurchaseReceipt
RemoveEntity
RemoveObject
RequestChunkRadius
ResourcePackChunkData
ResourcePackChunkRequest
ResourcePackClientResponse
ResourcePackDataInfo
ResourcePacksInfo
ResourcePacksStackPacket
Respawn
RiderJump
ServerSettingsRequest
ServerSettingsResponse
ServerToClientHandshake
SetCommandsEnabled
SetDefaultGameType
SetDifficulty
SetDisplayObjective
SetEntityData
SetEntityLink
SetEntityMotion
SetHealth
SetLastHurtBy
SetLocalPlayerAsInitialized
SetPlayerGameType
SetScore
SetSpawnPosition
SetTime
SetTitle
ShowCredits
ShowProfile
ShowStoreOffer
SimpleEvent
SpawnExperienceOrb
StartGame
StopSound
StructureBlockUpdate
SubClientLogin
TakeItemEntity
Text
Transfer
UpdateAttributes
UpdateBlock
UpdateBlockSynced
UpdateEquip
UpdateTrade
WSConnect