class Rosegold::DataComponents::MapId

Overview

Component for map_id (VarInt) - The ID of the map

Defined in:

rosegold/inventory/slot.cr

Constructors

Instance Method Summary

Instance methods inherited from class Rosegold::DataComponent

write(io) : Nil write

Constructor methods inherited from class Rosegold::DataComponent

create_component(component_type : UInt32, io) : DataComponent create_component

Constructor Detail

def self.new(id : UInt32) #

[View source]
def self.read(io) : self #

[View source]

Instance Method Detail

def id : UInt32 #

[View source]
def id=(id : UInt32) #

[View source]
def write(io) : Nil #

[View source]