Open Sidebar
Close Sidebar
rosegold
main
BlockFace
Int32
Microsoft
MobileOAuth
Token
Minecraft
Auth
Digest
EncryptedTCPSocket
IO
Hexdump
Memory
Wrap
NBT
ByteArrayTag
ByteTag
CompoundTag
DoubleTag
EndTag
FloatTag
IntArrayTag
IntTag
ListTag
LongArrayTag
LongTag
ShortTag
StringTag
Tag
NamedTag
TCPSocket
Rosegold
AABB
AABBd
AABBf
Action
Block
Bot
Chat
Chunk
BlockEntity
BlockStateNr
Section
Client
NotConnected
Clientbound
AcknowledgePlayerDigging
Status
BlockChange
ChatMessage
ChunkData
CloseWindow
DestroyEntities
Disconnect
EncryptionRequest
EntityEffect
EntityEquipment
EntityPosition
EntityPositionAndRotation
EntityRotation
EntityTeleport
HeldItemChange
JoinGame
KeepAlive
LoginDisconnect
LoginPluginRequest
LoginSuccess
MultiBlockChange
OpenWindow
Packet
Ping
PlayerInfo
Action
PlayerPositionAndLook
RawPacket
RemoveEntityEffect
Respawn
SetCompression
SetPassengers
SetSlot
SpawnEntity
SpawnLivingEntity
SpawnPlayer
StatusPong
StatusResponse
UnloadChunk
UpdateHealth
WindowItems
Config
Connection
Client
Server
Dimension
ChunkPos
Entity
Metadata
EntityEffect
Effect
Event
Disconnected
PhysicsTick
RawPacket
Tick
EventEmitter
Handler
Hand
Interactions
Inventory
ItemNotFoundError
Look
MCData
BlockCollisionShapes
BlockProperty
BlockPropertyType
Item
Material
Shape
Packet
PalettedContainer
Physics
MovementStuck
Player
PlayerList
Entry
Property
PlayerWindow
ProtocolState
RawPacket
Raytrace
Ray
Result
Serverbound
ChatMessage
ClickWindow
Mode
StackMode
ClientSettings
ChatMode
Hand
SkinParts
ClientStatus
Action
CloseWindow
EncryptionResponse
EntityAction
Type
Handshake
HeldItemChange
InteractEntity
Action
KeepAlive
LoginPluginResponse
LoginStart
Packet
PickItem
PlayerBlockPlacement
PlayerDigging
Status
PlayerLook
PlayerNoMovement
PlayerPosition
PlayerPositionAndLook
Pong
RawPacket
StatusPing
StatusRequest
SwingArm
TeleportConfirm
UseItem
Slot
Vec3
Vec3d
Vec3f
Vec3i
Window
ClickWindow
StackMode
WindowSlot
class
Rosegold::Serverbound::CloseWindow
Rosegold::Serverbound::CloseWindow
Rosegold::Serverbound::Packet
Rosegold::Packet
Rosegold::Event
Reference
Object
Defined in:
rosegold/packets/serverbound/close_window.cr
Constructors
.new
(window_id : UInt16)
Class Method Summary
.packet_id
Instance Method Summary
#window_id
: UInt16
#window_id=
(window_id : UInt16)
#write
: Bytes
Class methods inherited from class
Rosegold::Serverbound::Packet
new_raw(bytes)
new_raw
,
state
state
Instance methods inherited from class
Rosegold::Packet
callback(client_or_server)
callback
,
to_s(io)
to_s
,
write : Bytes
write
Constructor Detail
def self.
new
(window_id : UInt16)
#
[
View source
]
Class Method Detail
def self.
packet_id
#
[
View source
]
Instance Method Detail
def
window_id
: UInt16
#
[
View source
]
def
window_id=
(window_id : UInt16)
#
[
View source
]
def
write
: Bytes
#
[
View source
]