class Packets::Play::C::Maps
- Packets::Play::C::Maps
- RawPacket
- Reference
- Object
Defined in:
packets/packets.crConstructors
- .new(item_damage : Int32, scale : Int8, icon_count : Int32, icons : Array(MapIcon), columns : Int8, rows : Union(Int8, Nil), x : Union(Int8, Nil), z : Union(Int8, Nil), map_data_length : Union(Int32, Nil), map_data : Union(Array(UInt8), Nil))
- .new(packet : RawPacket)
Instance Method Summary
- #columns : Int8
- #icon_count : Int32
- #icons : Array(MapIcon)
- #item_damage : Int32
- #map_data : Union(Array(UInt8), Nil)
- #map_data_length : Union(Int32, Nil)
- #rows : Union(Int8, Nil)
- #scale : Int8
- #x : Union(Int8, Nil)
- #z : Union(Int8, Nil)
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(item_damage : Int32, scale : Int8, icon_count : Int32, icons : Array(MapIcon), columns : Int8, rows : Union(Int8, Nil), x : Union(Int8, Nil), z : Union(Int8, Nil), map_data_length : Union(Int32, Nil), map_data : Union(Array(UInt8), Nil))
#