class Packets::Play::C::Maps

Defined in:

packets/packets.cr

Constructors

Instance Method Summary

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)) #

[View source]
def self.new(packet : RawPacket) #

[View source]

Instance Method Detail

def columns : Int8 #

def icon_count : Int32 #

def icons : Array(MapIcon) #

def item_damage : Int32 #

def map_data : Union(Array(UInt8), Nil) #

def map_data_length : Union(Int32, Nil) #

def rows : Union(Int8, Nil) #

def scale : Int8 #

def x : Union(Int8, Nil) #

def z : Union(Int8, Nil) #