Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
briar-protocol
master
Top Level Namespace
Angle
Attribute
Modifier
Property
Authenticator
AuthResult
AuthToken
Error
BlockRecord
Briar
Chat
Chunk
Column
Meta
NibbleArray
Section
Client
Authentication
ConnectionClosed
Encryption
InvalidAuth
LoginDisconnect
PlayDisconnect
ClientHandler
Crypt
Disk
Events
C
EventChannel
EventEmitter
EventHandler
Emit
Events
Literal
Animation
AttachEntity
BlockAction
BlockBreakAnim
BlockChange
Camera
ChangeGameState
Chat
ChunkData
CloseWindow
CollectItem
CombatEvent
ConfirmTransaction
CustomPayload
DestroyEntities
DisplayScoreboard
Effect
EnableCompression
EncryptionRequest
Entity
EntityEffect
EntityEquipment
EntityHeadLook
EntityLook
EntityLookAndRelativeMove
EntityMetadata
EntityProperties
EntityRelativeMove
EntityStatus
EntityTeleport
EntityVelocity
Explosion
HeldItemChange
JoinGame
KeepAlive
LoginDisconnect
LoginSuccess
MapChunkBulk
Maps
MultiBlockChange
OpenWindow
Particles
PlayDisconnect
PlayerAbilities
PlayerListHeaderFooter
PlayerListItem
PlayerPosLook
Pong
RemoveEntityEffect
ResourcePackSend
Respawn
ScoreboardObjective
ServerDifficulty
ServerInfo
SetCompressionLevel
SetExperience
SetSlot
SetTitle
SetWorldBorder
SignEditorOpen
SoundEffect
SpawnExperienceOrb
SpawnGlobalEntity
SpawnMob
SpawnObject
SpawnPainting
SpawnPlayer
SpawnPosition
Statistics
TabComplete
Teams
TimeUpdate
UpdateEntityNbt
UpdateHealth
UpdateScore
UpdateSign
UpdateTileEntity
UseBed
WindowItems
WindowProperty
On
Receive
S
ExplosionRecord
MapIcon
Metadata
Data
Entry
Rotations
Value
Nbt
ID
NamedTag
Tag
Value
PacketBuffer
PacketParser
Compressed
Uncompressed
Packets
Handshaking
S
Handshake
Login
C
EnableCompression
EncryptionRequest
LoginDisconnect
LoginSuccess
S
EncryptionResponse
LoginStart
Play
C
Animation
AttachEntity
BlockAction
BlockBreakAnim
BlockChange
Camera
ChangeGameState
Chat
ChunkData
CloseWindow
CollectItem
CombatEvent
ConfirmTransaction
CustomPayload
DestroyEntities
DisplayScoreboard
Effect
Entity
EntityEffect
EntityEquipment
EntityHeadLook
EntityLook
EntityLookAndRelativeMove
EntityMetadata
EntityProperties
EntityRelativeMove
EntityStatus
EntityTeleport
EntityVelocity
Explosion
HeldItemChange
JoinGame
KeepAlive
MapChunkBulk
Maps
MultiBlockChange
OpenWindow
Particles
PlayDisconnect
PlayerAbilities
PlayerListHeaderFooter
PlayerListItem
PlayerPosLook
RemoveEntityEffect
ResourcePackSend
Respawn
ScoreboardObjective
ServerDifficulty
SetCompressionLevel
SetExperience
SetSlot
SetTitle
SetWorldBorder
SignEditorOpen
SoundEffect
SpawnExperienceOrb
SpawnGlobalEntity
SpawnMob
SpawnObject
SpawnPainting
SpawnPlayer
SpawnPosition
Statistics
TabComplete
Teams
TimeUpdate
UpdateEntityNBT
UpdateHealth
UpdateScore
UpdateSign
UpdateTileEntity
UseBed
WindowItems
WindowProperty
S
Animation
Chat
ClickWindow
ClientSettings
ClientStatus
CloseWindow
ConfirmTransaction
CreativeInventoryAction
CustomPayload
EnchantItem
EntityAction
HeldItemChange
KeepAlive
Player
PlayerAbilities
PlayerBlockPlacement
PlayerDigging
PlayerLook
PlayerPosition
PlayerPosLook
ResourcePackStatus
Spectate
SteerInput
TabComplete
UpdateSign
UseEntity
Status
C
Pong
ServerInfo
S
Ping
Request
PlayerList
Action
Action_
AddPlayer
Property
RemovePlayer
UpdateDisplayName
UpdateGamemode
UpdateLatency
Value
ID
Property
Value
Position
ProtocolState
RawPacket
Slot
SlotValue
Statistic
Title
Action
Action_
Hide
Reset
SetSubtitle
SetTimesDisplay
SetTitle
Value
ID
WorldBorder
Action
Action_
Initialize
LerpSize
SetCenter
SetSize
SetWarningBlocks
SetWarningTime
Value
ID
Generated using Crystal 1.14.0
2024-11-26 07:31:17 UTC
class
Packets::
Play::
S::
PlayerAbilities
Packets::Play::S::PlayerAbilities
RawPacket
Reference
Object
Defined in:
packets/packets.cr
Constructors
.new
(flags : Int8, flying_speed : Float32, walking_speed : Float32)
.new
(packet : RawPacket)
Instance Method Summary
#flags
: Int8
#flying_speed
: Float32
#walking_speed
: Float32
Instance methods inherited from class
RawPacket
data : Bytes
data
,
id : Int32
id
,
slice : Bytes
slice
Constructor methods inherited from class
RawPacket
new(id : Int32, data : Bytes)
new
Constructor Detail
def self.
new
(flags : Int8, flying_speed : Float32, walking_speed : Float32)
#
[
View source
]
def self.
new
(packet :
RawPacket
)
#
[
View source
]
Instance Method Detail
def
flags
: Int8
#
def
flying_speed
: Float32
#
def
walking_speed
: Float32
#