class Rosegold::Clientbound::WindowItems
- Rosegold::Clientbound::WindowItems
- Rosegold::Clientbound::Packet
- Rosegold::Packet
- Rosegold::Event
- Reference
- Object
Defined in:
rosegold/packets/clientbound/window_items.crConstructors
Class Method Summary
Instance Method Summary
- #callback(client)
- #cursor : WindowSlot
- #cursor=(cursor : WindowSlot)
- #slots : Array(WindowSlot)
- #slots=(slots : Array(WindowSlot))
- #state_id : UInt32
- #state_id=(state_id : UInt32)
- #window_id : UInt8
- #window_id=(window_id : UInt8)
- #write : Bytes
Class methods inherited from class Rosegold::Clientbound::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 : UInt8, state_id : UInt32, slots : Array(Rosegold::WindowSlot), cursor : Rosegold::WindowSlot)
#