class Rosegold::DataComponents::Repairable

Overview

Repairable - HolderSet of items

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, create_component_by_name(name : String | Nil, component_type : UInt32, io) : DataComponent create_component_by_name

Constructor Detail

def self.new(holder_type : UInt32 = 0_u32, tag : Nil | String = nil, ids : Nil | Array(UInt32) = nil) #

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

[View source]

Instance Method Detail

def holder_type : UInt32 #

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

[View source]
def ids : Array(UInt32) | Nil #

[View source]
def ids=(ids : Array(UInt32) | Nil) #

[View source]
def tag : String | Nil #

[View source]
def tag=(tag : String | Nil) #

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

[View source]